Enhancements
- Add support for all query expressions in
order_by
,group_by
anddistinct
expressions, instead of only allowing lists of fields - Add
Ecto.Model.scoped/2
as a shorthand forfrom(x in __MODULE__, ...)
Bug fixes
- Aggregate functions in
order_by
,distinct
andselect
will make the query grouped
Backwards incompatible changes
- Single variables in
group_by
anddistinct
no longer expands to a list of fields