$sqlite->limit()
Creates a limit and offset query instruction
$sqlite->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 $sqlite
object it is applied to and returns it again.
Parent class
Kirby\Database\Sql\Sqlite
inherited from Kirby\Database\Sql