$mysql->limit()
Creates a limit and offset query instruction
$mysql->limit(int $offset = 0, int|null $limit = null): array
Parameters
Name | Type | Default |
---|---|---|
$offset | int |
0
|
$limit | int ornull |
null
|
Return type
array
This method modifies the existing $mysql
object it is applied to and returns it again.
Parent class
Kirby\Database\Sql\Mysql
inherited from Kirby\Database\Sql