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 |
Explain registry pattern in magento?
How many types of sessions are there? Why we use different sessions in magento?
how magento orm works?
Explain the architecture of magento.
How can I prepare for magento 2 exam?
State the syntax to call a cms page in your module's phtml file.
What does magento cost?
What is rest api in magento?
What is the best ecommerce platform 2019?
What language is magento?
Is magento for free?
Did magento buy adobe?