$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
This method modifies the existing $query object it is applied to and returns it again.