#
View Source Ash.Resource.Calculation.LoadRelationship (ash v2.14.2)

Loads a relationship as a calculation.

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

# Link to this section Summary

## Functions

calculate(results, opts, context)

Callback implementation for `Ash.Calculation.calculate/3`.

describe(opts)

Callback implementation for `Ash.Calculation.describe/1`.

init(opts)

Callback implementation for `Ash.Calculation.init/1`.

load(query, opts, arg3)

Callback implementation for `Ash.Calculation.load/3`.

select(query, opts, context)

Callback implementation for `Ash.Calculation.select/3`.

# Link to this section Functions

Link to this function

# calculate(results, opts, context)

View Source

Callback implementation for `Ash.Calculation.calculate/3`.

Link to this function

# describe(opts)

View Source

Callback implementation for `Ash.Calculation.describe/1`.

Link to this function

# init(opts)

View Source

Callback implementation for `Ash.Calculation.init/1`.

Link to this function

# load(query, opts, arg3)

View Source

Callback implementation for `Ash.Calculation.load/3`.

Link to this function

# select(query, opts, context)

View Source

Callback implementation for `Ash.Calculation.select/3`.