df.tips
Which of the following will log current collection’s SQL query?
Upwork
«Magento» Upwork test
dmitrii_fediuk
(Dmitrii Fediuk)
February 25, 2018, 9:47pm
1
$collection->printLogQuery(true);
$collection->getSelect()->__toString();
$collection->printLogQuery();
$collection->getSelected()->__toString();
magento.stackexchange.com/questions/8527
Magento