Endon.aggregate
You're seeing just the function
aggregate
, go back to Endon module for more information.
Specs
aggregate(atom(), :avg | :count | :max | :min | :sum, where_conditions()) :: term() | nil
Calculate the given aggregate over the given column.
conditions
are anything accepted by where/2
(including a Ecto.Query.t/0
).