Ecto.Query.API.avg
You're seeing just the function
avg
, go back to Ecto.Query.API module for more information.
Calculates the average for the given entry.
from p in Payment, select: avg(p.value)