Model
Order
Magento\Sales\Model\ResourceModel\Report\Order
What it does
This resource model aggregates sales order data for reporting purposes in Magento 2.
It generates statistical summaries of orders based on both creation date and update date, storing the aggregated data in the sales_order_aggregated_created table.
Developers use this class when they need to refresh or generate order reports, typically through cron jobs or manual report generation.
Public Methods
- aggregate()