Model
Order
Magento\Sales\Model\ResourceModel\Report\Order
What it does
This resource model aggregates sales order data for reporting purposes in Magento 2.
Developers use this class to generate statistical summaries of orders based on creation and update dates, which powers the sales reports in the admin dashboard.
The aggregate method processes order data within specified date ranges and updates the sales_order_aggregated_created table.
Public Methods
- aggregate()