Ash.DataLayer.add_aggregate

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

add_aggregate(data_layer_query, arg2, arg3)

View Source (optional)

Specs

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