Ash.DataLayer.add_calculation

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

add_calculation(query, calculation, expression, resource)

View Source

Specs

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