$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 * | array|string|null |
– | Pass either a string of columns or an array |
Return type
This method does not modify the existing $query object but returns a new object with the changes applied. Learn more →