$query->limit()
Sets the limit for select clauses
$query->limit(int|null $limit = null): Kirby\Database\Query
Parameters
| Name | Type | Default |
|---|---|---|
| $limit | intornull |
null
|
Return type
This method modifies the existing $query object it is applied to and returns it again.