$sql->limit()
Creates a limit and offset query instruction
$sql->limit(int $offset = 0, int|null $limit = null): array
Parameters
| Name | Type | Default |
|---|---|---|
| $offset | int |
0
|
| $limit | intornull |
null
|
Return type
array
This method modifies the existing $sql object it is applied to and returns it again.