method countFieldValues documentation in bbn\Db
Return a count of identical values in a field as array, Reporting a structure type 'num' - 'val'.
Example
X::dump($db->countFieldValues('table_users','surname',[['name','=','John']]));
// (array) ["num" => 2, "val" => "John"]
function($table, string $field = NULL, array $where = [], array $order = [])
{
return $this->language->countFieldValues($table, $field, $where, $order);
}
Return a count of identical values in a field as array, Reporting a structure type 'num' - 'val'. 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