mage / product-view
Magento 2 module to Create Prodcut View Flat table
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- mage/db2: ^1
- mage/view-table: ^1
README
composer require mage/product-view
All the tables(ViewTable, MView, JSON) will be create on setup:upgrade
You can also run it with the command bin/magento pview:run, which will populate the table with the data.
bin/magento pview:run
By running this code populateProductJsonTableFromView($changeLog = false) with the true parameter, you are generating data only for change log data
Tables will be generated:
- catalog_product_view : it is a view, not a table. Runs direct SQL to the core magento tables. Update mechanism not required however, has performace of the raw queries
- catalog_product_view_MVIEW : materialized view table from the view table. An update mechanism is required
- product_json : table with the denormilised json attribute data in the data field. An update mechanism is also required