Ash.DataLayer.add_calculation

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

add_calculation(data_layer_query, arg2, expression, arg4)

View Source (optional)

Specs

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