Endon.sum

You're seeing just the function sum, go back to Endon module for more information.
Link to this function

sum(column, conditions \\ [])

View Source

Specs

sum(String.t() | atom(), where_conditions()) :: integer()

Get the sum of a given column.

conditions are anything accepted by where/2 (including a Ecto.Query.t/0).