Showing posts with label Magento log current collection’s SQL query. Show all posts
Showing posts with label Magento log current collection’s SQL query. Show all posts

Friday, 18 November 2016

Magento how will you log current collection’s SQL query?

$collection->printLogQuery(true); OR $collection->getSelect()->__toString();