If you want to see the query use the following code for example:

Magento Query:

$collection = Mage::getModel('banner/banner')->getCollection();
echo $collection->getSelect()->__toString();

Result For Example:

SELECT `main_table`.* FROM `banner` AS `main_table`

working-on-a-computer-smiley-emoticon

Categories: Magento

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *