Skip to content

Kirby 5.0.4

$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

Kirby\Database\Query

This method modifies the existing $query object it is applied to and returns it again.

Parent class

Kirby\Database\Query