1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/manual/new/docs/en/advanced-components/dbprofiler.txt

10 lines
471 B
Plaintext
Raw Normal View History

+++ Introduction
{{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}}.
+++ Basic usage
+++ Advanced usage