Make simple things easy in Ecto, e.g. Ectoo.max(MyModel, :age). Also .count, .min, .max, .avg.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool