$query->page()
Automatically adds pagination to a query
$query->page(int $page, int $limit): object
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $page * | int |
– | |
| $limit * | int |
– | The number of rows, which should be returned for each page |
Return type
object