Collection
Grouped\Collection
Magento\Reports\Model\Grouped\Collection
What it does
This class handles grouped data collections for Magento 2 reports.
Developers use it to aggregate and organize report data by a specific column (like date or product ID), merging resource collection data with empty placeholder items to ensure complete datasets even when some periods have no data.
Public Methods
- setColumnGroupBy()
- load()
- setResourceCollection()