Is it possible to use the EXPLAIN sql command with Doctrine? If not, how do I test/optimize sql code using Doctrine?
Asked
Active
Viewed 1,550 times
1 Answers
0
You didn't said which version you are using so I can't answer specifically but here are some links:
Doctrine - How to print out the real sql, not just the prepared statement?
Doctrine - how to get the SQL INSERT query, in the postSave() event?
How to debug MySQL/Doctrine2 Queries?
http://www.chrisshennan.com/2009/12/07/raw-sql-from-doctrine-query-object-revised/#.T7ARLOs6E0E
(Your answer is in one of the above links, if not, please comment)