$query->debug()
Enables query debugging. If enabled, the query will return an array with all important info about the query instead of actually executing the query and returning results
$query->debug(bool $debug = true): Kirby\Database\Query
Parameters
Name | Type | Default |
---|---|---|
$debug | bool |
true
|
Return type
This method modifies the existing $query
object it is applied to and returns it again.