Ash.DataLayer.add_aggregate

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

add_aggregate(query, aggregate, resource)

View Source

Specs

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