function(array $cfg)
{
$res = '';
if (!empty($cfg['limit']) && Str::isInteger($cfg['limit'])) {
$res .= 'LIMIT ' . $cfg['limit'] . (!empty($cfg['start']) && Str::isInteger($cfg['start']) ? ' OFFSET ' . $cfg['start'] : '');
}
return $res;
}