1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/manual/docs/Advanced components - Db_Profiler - Introduction.php

16 lines
433 B
PHP
Raw Normal View History

2007-04-14 01:49:11 +04:00
Doctrine_Db_Profiler is an eventlistener for Doctrine_Db. It provides flexible query profiling. Besides the sql strings
the query profiles include elapsed time to run the queries. This allows inspection of the queries that have been performed without the
need for adding extra debugging code to model classes.
Doctrine_Db_Profiler can be enabled by adding it as an eventlistener for Doctrine_Db.
<code type="php">
?></code>