View Source Ash.Resource.Calculation.LoadRelationship (ash v2.14.17)

Loads a relationship as a calculation.

Can be used to load the same relationship with a different query.

Summary

Functions

Link to this function

calculate(results, 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.