$collection->select()
$collection->select(mixed $keys = null): Collection
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $keys | mixed |
null
|
Comma-separated string or array of keys, null for all keys, false to keep the selection |
Return type
This method modifies the existing $collection object it is applied to and returns it again.
Exceptions
| Type | Description |
|---|---|
Exception |