Answer Posted / Girish Kumar Arya
To print the exact SQL query executed by Zend Framework, you can use the `getLastQuery()` method of the database adapter and the `quoteEscapeString()` method for escaping special characters. For example: `echo $db->getDriver()->getConnection()->getLastQuery();`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers