Endon.avg
You're seeing just the function
avg
, go back to Endon module for more information.
Specs
avg(String.t() | atom(), where_conditions()) :: float()
Get the average of a given column.
conditions
are anything accepted by where/2
(including a Ecto.Query.t/0
).