| title | AggregationNode |
|---|---|
| description | AggregationNode Schema Reference |
| Property | Type | Required | Description |
|---|---|---|---|
| function | Enum<'count' | 'sum' | 'avg' | 'min' | 'max' | 'count_distinct' | 'array_agg' | 'string_agg'> |
✅ | Aggregation function |
| field | string |
optional | Field to aggregate (optional for COUNT(*)) |
| alias | string |
✅ | Result column alias |
| distinct | boolean |
optional | Apply DISTINCT before aggregation |