Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline

<!-- changelog -->

## Unreleased

### Features:

* add strategy-aware aggregate dispatch with lateral and grouped aggregate implementations

### Improvements:

* add grouped query aggregate support for root SQLite-compatible aggregate kinds
* declare `:jason` as a direct dependency for grouped list aggregate defaults

## [v0.6.3](https://github.com/ash-project/ash_sql/compare/v0.6.2...v0.6.3) (2026-05-03)


Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,12 @@ def deps do
]
end
```

## Aggregate Strategies

`AshSql.Implementation` defaults aggregate planning to `:lateral`. SQL data
layers can override `aggregate_strategy/1` with `:grouped` when they need the
SQLite-style grouped aggregate implementation.

The grouped strategy uses native aggregate `FILTER` support and JSON-backed list
aggregate defaults.
Loading