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

Represents an aggregated association value

Link to this section Summary

Link to this section Types

@type kind() :: :list | :sum | :first | :count
@type t() :: %Ash.Query.Aggregate{
  authorization_filter: term(),
  default_value: term(),
  field: term(),
  filterable?: 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, default \\ nil, filterable? \\ true)

View Source
Link to this function

requests(initial_query, can_be_in_query?, authorizing?, calculations_in_query, request_path)

View Source