Nov 18, 2011

Magento: How print the sql query in your collection

<?php
$collection->getSelect()->__toString();
?>

No comments: