How to get SQL query for product insert in Magento 2 ?
I have multiple products around 10 Lakhs so i want to insert it using SQL query.
But how will i get the insert query of the product ?
Any Help is Appreciated.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityyou can import data from csv file https://docs.magento.com/user-guide/system/data-import.html
otherwise you can create a command object using Magento\Framework\Model\ResourceModel\Iterator to import huge amount of records.
example code: http://www.rosenborgsolutions.com/collection-walk-iterator.php