$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 | array ornull |
null
|
Return types
array
orKirby\Database\Query
This method modifies the existing $query
object it is applied to and returns it again.