Ash.DataLayer.add_aggregates

You're seeing just the function add_aggregates, go back to Ash.DataLayer module for more information.
Link to this function

add_aggregates(query, aggregates, resource)

View Source

Specs

add_aggregates(data_layer_query(), [Ash.Query.Aggregate.t()], Ash.Resource.t()) ::
  {:ok, data_layer_query()} | {:error, term()}