CodeExplorer OffsetQuery example
return new LastIdQuery($query);
} $query->
select([$escaped . '.id', 'LOWER(HEX(' .
$escaped . '.id))'
]);
$query->
setFirstResult(0
);
if ($lastId !== null
) { $query->
setFirstResult((int) $lastId['offset'
]);
} return new OffsetQuery($query);
}}