Ash.DataLayer.add_calculations

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

add_calculations(data_layer_query, list, arg3)

View Source (optional)

Specs

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