View Source Ash.Query.Calculation (ash v2.14.17)

Represents a calculated attribute requested on a query

Summary

Types

@type t() :: %Ash.Query.Calculation{
  calc_name: term(),
  constraints: term(),
  context: term(),
  filterable?: term(),
  load: term(),
  module: term(),
  name: term(),
  opts: term(),
  required_loads: term(),
  select: term(),
  sequence: term(),
  type: term()
}

Functions

Link to this function

new(name, module, opts, type, context \\ %{}, filterable? \\ true, required_loads \\ [])

View Source