Magento 2 how to use function $this->_getReadAdapter(); in model
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
0
in magento 1 their is method $this->_getReadAdapter(); in model class. How we can use this in Magento 2.
magento2 magento-2.1
share | improve this question
edited Jul 12 '18 at 10:44
Khodu Vaishnav
asked Jun 20 '18 at 9:33
Khodu Vaishnav Khodu Vaishnav
46 5