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

Represents a calculated attribute requested on a query

Link to this section Summary

Link to this section 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()
}

Link to this section Functions

Link to this function

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

View Source