method getLimit documentation in bbn\Db\Languages\Sql
Get a string starting with LIMIT with corresponding parameters to $where
function(array $cfg)
{
$res = '';
if (!empty($cfg['limit']) && Str::isInteger($cfg['limit'])) {
$res .= 'LIMIT ' . (!empty($cfg['start']) && Str::isInteger($cfg['start']) ? (string)$cfg['start'] : '0') . ', ' . $cfg['limit'];
}
return $res;
}
Get a string starting with LIMIT with corresponding parameters to $where 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