DebugPDO
class DebugPDO extends PDO (View source)
PDO subclass that records executed queries for debug display.
Only instantiated when database.debug is enabled. All consumers type-hint PDO; the footer uses method_exists() to access getQueries().
Methods
PDOStatement|false
query(string $query, int|null $fetchMode = null, mixed ...$fetchModeArgs)
No description
PDOStatement|false
prepare(string $query, array $options = [])
No description
int|false
exec(string $statement)
No description
array
getQueries()
No description
Details
PDOStatement|false
query(string $query, int|null $fetchMode = null, mixed ...$fetchModeArgs)
No description
PDOStatement|false
prepare(string $query, array $options = [])
No description
int|false
exec(string $statement)
No description
array
getQueries()
No description