Friday 18 November 2016

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

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

No comments:

Post a Comment