AbstractGrid
Magento\Sales\Model\ResourceModel\AbstractGrid
What it does
AbstractGrid serves as a base class for managing grid tables in the Magento Sales module, providing common functionality for interacting with database tables that display sales data (orders, invoices, shipments, etc.).
Developers extend this class when creating resource models for sales-related grid tables, utilizing methods to get database connections, retrieve grid table names, and delete grid rows.
It standardizes operations on grid tables that sync data from main sales entities for optimized display in admin grids.
Public Methods
- getConnection()
- getGridTable()
- purge()