$query->bindings()
Attaches additional bindings to the query. Also can be used as getter for all attached bindings by not passing an argument.
$query->bindings(array|null $bindings = null): array|Kirby\Database\Query
Parameters
| Name | Type | Default |
|---|---|---|
| $bindings | arrayornull |
null
|
Return types
arrayorKirby\Database\Query
This method modifies the existing $query object it is applied to and returns it again.