How to create custom commands to perform crud operations in Magento 2.I am not getting help online. please provide code if possible.
Magento 2 Custom Commands – How to Perform CRUD Operations
crudmagento2
crudmagento2
How to create custom commands to perform crud operations in Magento 2.I am not getting help online. please provide code if possible.
Best Answer
Follow the following Steps:
Then in command line run the following command:
php bin/magento mastering:add:item "Magento 2 " "It is a CMS" "Comment"
There is some other things you have to consider before this.
Please refer to this video. I followed this whole video and learn a great deal from this.