skip to Main Content

How to fetch db table values using mysql query in magento 2. Magento 2 use sql query?

I'm new in Magento. CustomModuleDatabaseControllerPageIndex.php <?php namespace CustomModuleDatabaseControllerPage; class Index extends MagentoFrameworkAppActionAction { protected $_pageFactory; public function __construct( MagentoFrameworkAppActionContext $context, MagentoFrameworkViewResultPageFactory $pageFactory) { $this->_pageFactory = $pageFactory; return parent::__construct($context); } public function execute() { return $this->_pageFactory->create(); } } CustomModuleDatabaseBlockIndex.php <?php namespace…

VIEW QUESTION
Back To Top
Search