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

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(),
  type: term()
}

Functions

Link to this function

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

View Source