#
View Source Ash.Query.Aggregate (ash v2.4.22)

Represents an aggregated association value

# Link to this section Summary

## Types

kind()
t()

## Functions

default_value(atom)
new(resource, name, kind, relationship, query, field, default \\ nil, filterable? \\ true, type \\ nil, constraints \\ [], implementation \\ nil)
requests(initial_query, can_be_in_query?, authorizing?, calculations_in_query, request_path)

# Link to this section Types

Link to this type

# kind()

View Source

    @type kind() :: :custom | :sum | :avg | :min | :max | :list | :sum | :first | :count

Link to this type

# t()

View Source

    @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

# default_value(atom)

View Source
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