Function ze\row::count()

In PHP:
ze\row::count(
$table, $ids = []
)

Description

This function does a simple SELECT COUNT(*) on a table.

Parameters

$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.