Skip to content

Kirby 4.4.1

$query->limit()

Sets the limit for select clauses

$query->limit(?int $limit = null): Kirby\Database\Query

Parameters

Name Type Default
$limit int|null null

Return type

Kirby\Database\Query

This method does not modify the existing $query object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Database\Query