$sql->limit()
Creates a limit and offset query instruction
$sql->limit(int $offset = 0, int|null $limit = null): array{query: string|null, bindings: array}
Parameters
| Name | Type | Default |
|---|---|---|
| $offset | int |
0
|
| $limit | intornull |
null
|
Return type
array{query: string|null, bindings: array<string, int|string>}