We're using Doctrine, a PHP ORM. I am creating a query like this:\[code\]$q = Doctrine_Query::create()->select('id')->from('MyTable');\[/code\]and then in the function I'm adding in various where clauses and things as appropriate, like this\[code\]$q->where('normalisedname = ? OR name = ?', array($string, $originalString));\[/code\]Later on, before \[code\]execute()\[/code\]-ing that query object, I want to print out the raw SQL in order to examine it, and do this:\[code\]$q->getSQLQuery();\[/code\]However that only prints out the prepared statement, not the full query. I want to see what it is sending to the MySQL, but instead it is printing out a prepared statement, including \[code\]?\[/code\]'s. Is there some way to see the 'full' query?