beforeQuery()
beforeQuery(\Phalcon\Events\Event $event, \Phalcon\Db\Adapter\Pdo $connection)
Parameters
| \Phalcon\Events\Event | $event | |
| \Phalcon\Db\Adapter\Pdo | $connection |
Query debugger, prints executed queries to the debug log.
The debugger will only run if BOTH the application and the database connection are in debug mode.