Skip to content

Kirby 5.0.4

$query->select()

Sets the columns, which should be selected from the table By default all columns will be selected

$query->select(array|string|null $select): Kirby\Database\Query

Parameters

Name Type Default Description
$select arrayorstringornull no default value Pass either a string of columns or an array

Return type

Kirby\Database\Query

This method modifies the existing $query object it is applied to and returns it again.

Parent class

Kirby\Database\Query