Skip to content

Kirby 4.5.0

$query->first()

Selects only one row from a table

$query->first(): mixed|null

Return type

mixed|null

Parent class

Kirby\Database\Query