$query->fail()
Enables failing queries.
$query->fail(bool $fail = true): Kirby\Database\Query
Parameters
| Name | Type | Default |
|---|---|---|
| $fail | bool |
true |
Return type
This method does not modify the existing $query object but returns a new object with the changes applied. Learn more →