How to get sql before save [duplicate]
-
12-12-2019 - |
Question
I need to print the query before the save method in a model class. Is it possible? thanks
Solution
solved enabling log all queries in lib/Varien/Db/Adapter/Pdo/Mysql.php
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange