github elixir-ecto/ecto v0.2.1

latest releases: v3.11.2, v3.11.1, v3.11.0...
9 years ago

Enhancements

  • Add support for all query expressions in order_by, group_by and distinct expressions, instead of only allowing lists of fields
  • Add Ecto.Model.scoped/2 as a shorthand for from(x in __MODULE__, ...)

Bug fixes

  • Aggregate functions in order_by, distinct and select will make the query grouped

Backwards incompatible changes

  • Single variables in group_by and distinct no longer expands to a list of fields

Don't miss a new ecto release

NewReleases is sending notifications on new releases.