View Source Ash.Query.Aggregate (ash v2.5.16)

Represents an aggregated association value

Link to this section Summary

Link to this section Types

@type kind() :: :custom | :sum | :avg | :min | :max | :list | :sum | :first | :count
@type t() :: %Ash.Query.Aggregate{
  authorization_filter: term(),
  constraints: term(),
  default_value: term(),
  field: term(),
  filterable?: term(),
  implementation: 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, type \\ nil, constraints \\ [], implementation \\ nil)

View Source
Link to this function

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

View Source