Ecto.Query.API.max

You're seeing just the function max, go back to Ecto.Query.API module for more information.

Calculates the maximum for the given entry.

from p in Payment, select: max(p.value)