Ash.Query.Aggregate (ash v1.43.9) View Source

Represents an aggregated association value

Link to this section Summary

Link to this section Types

Specs

kind() :: :list | :sum | :first | :count

Specs

t() :: %Ash.Query.Aggregate{
  authorization_filter: term(),
  default_value: term(),
  field: term(),
  kind: term(),
  load: term(),
  name: term(),
  query: term(),
  relationship_path: term(),
  resource: term(),
  type: term()
}

Link to this section Functions

Link to this function

new(resource, name, kind, relationship, query, field)

View Source
Link to this function

requests(initial_query, can_be_in_query?, authorizing?)

View Source