ze\row::count()
ze\row::count($table, $ids = [])
This function does a simple SELECT COUNT(*) on a table.
$table
The name of a table to check.
You do not need to add the DB_PREFIX
, this will be added automatically.
$ids
An associative array of keys (column names) to values to search for; see Format of $id and $values for Database Functions for details.