Change Log

1.7.0

  • Added inserting of struct directly to all insert methods. This will bypass a changeset just as it does in Ecto.
  • Added experimental update_all helper method. Use at your own risk, may not stay around.
  • Update one function to use Ecto.Repo.all and to return the first record instead of throwing an error which Ecto.Repo.one will do. It seems this is a more common use case than wanting an error to be thrown and break your application process.
  • Added order_by options to all and one functions.
  • Renamed destructure to to_map option and function based upon feedback. destructure still exists but points to to_map. Will be removed in a future version.
  • Changed one function receive a String id number as well as an integer. Making it more convient for when an id is passed via web params or read from another text source. No need to convert it before passing it in.

1.6.0

  • Updated to add Ecto 2.1 support with the standard Elixir Date, Time, DateTime, NaiveDateTime structs.
  • Fixed Elixir 1.4.0 warnings.
  • Started changelog.
  • Revised ex_docs with better structure.