You're seeing just the function
distinct, go back to Ash.Query module for more information.
Get results distinct on the provided fields.
Takes a list of fields to distinct on. Each call is additive, so to remove the
Ash.Query.distinct(query, [:first_name, :last_name]) Ash.Query.distinct(query, :email)