View Source Ash.Resource.Calculation.LoadAttribute (ash v2.17.0)

Loads an attribute as a calculation.

Can be used to load the same attribute with different load statements applied.

Summary

Functions

Callback implementation for Ash.Calculation.describe/1.

Callback implementation for Ash.Calculation.init/1.

Callback implementation for Ash.Calculation.load/3.

Functions

Link to this function

calculate(list, opts, context)

View Source

Callback implementation for Ash.Calculation.calculate/3.

Callback implementation for Ash.Calculation.describe/1.

Callback implementation for Ash.Calculation.init/1.

Callback implementation for Ash.Calculation.load/3.

Link to this function

select(query, opts, context)

View Source

Callback implementation for Ash.Calculation.select/3.