Model
Flat
Magento\Catalog\Model\ResourceModel\Product\Flat
What it does
This resource model manages interactions with Magento's flat product tables, which are denormalized versions of product data optimized for frontend performance.
Developers use this class when working with flat product indexing, retrieving product attributes from flat tables, or building collections that query the flattened product data structure for faster reads.
Public Methods
- getStoreId()
- setStoreId()
- getFlatTableName()
- getTypeId()
- getAttributeForSelect()
- getAttributeSortColumn()
- getAllTableColumns()
- isAttributeStatic()
- getEntityIdField()
- getAttribute()
- getMainTable()
- getDefaultAttributes()