How to run custom query in magento?
Answer / Sarvesh Kumar
In Magento, you can execute custom SQL queries using the `Mage_Core_Model_Resource_Db_Abstract` class. To do this, first extend a resource model for your entity and override the _construct() method to set up your connection. Then, create a method that executes your custom query.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to enable maintenance mode in magento?
Is magento a software?
What is page layout section?
How install magento step by step?
What is a module in magento?
Is magento cloud based?
What are the advantages of applying connect patches in magento?
How many design patterns does magento have?
how to create a featured product?
How can we create a custom "twitter handle" field in a registration form?
What is the database that magento supports?
How to run custom mysql query in magento?