Ability to print/get final SQL queries
Posted 19 June 2012 - 04:41 PM
Is this something that makes sense? If it does perhaps it's something that should be considered. I realize a CDbCriteria might not contain all the info by itself, there might need to be context added for this to make sense.
It would be useful when debugging an application (or put another way; easier than current logging, when wanting to pinpoint a specific problem you're having somewhere in the code). At least this is the most common reason why people ask, AFAIK.
Edit: As yjeroen pointed out there's already a getText() on CDbCommand, so that part seems to be covered.
Posted 20 June 2012 - 04:22 AM
Posted 20 June 2012 - 11:25 AM