Ash.DataLayer.add_aggregates

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

add_aggregates(data_layer_query, list, arg3)

View Source (optional)

Specs

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