Ash.DataLayer.add_calculations

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

add_calculations(query, calculations, resource)

View Source

Specs

add_calculations(
  data_layer_query(),
  [{Ash.Query.Calculation.t(), expression :: term()}],
  Ash.Resource.t()
) :: {:ok, data_layer_query()} | {:error, term()}