method countKeys documentation in bbn\Appui\Database
Returns the number of keys in the given table.
function(string $table, string $db = '')
{
$num = 0;
if (!bbn\Str::isUid($table) && Str::isUid($db)) {
$table = $this->tableId($table, $db);
}
if (bbn\Str::isUid($table)
&& ($id_parent = $this->o->fromCode('keys', $table))
) {
$num = $this->o->count($id_parent);
}
return $num;
}
Returns the number of keys in the given table. 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-2024
BBN Solutions