method count documentation in bbn\Db
Return the number of records in the table corresponding to the $where condition (non mandatory).
Example
X::dump($db->count('table_users', ['name' => 'John']));
// (int) 2
function($table, array $where = [])
{
return $this->language->count($table, $where);
}
Return the number of records in the table corresponding to the $where condition (non mandatory). BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions