Skip to content

Kirby 4.4.1

$sql->limit()

Creates a limit and offset query instruction

$sql->limit(int $offset = 0, ?int $limit = null): array

Parameters

Name Type Default
$offset int 0
$limit int|null null

Return type

array

Parent class

Kirby\Database\Sql