Ash.Resource.Aggregate (ash v1.46.8)
View Source
Represents a named aggregate on the resource that can be loaded
Specs
t() :: %Ash.Resource.Aggregate{
description: String.t() | nil,
field: atom(),
filter: Keyword.t(),
kind: :count | :first | :sum | :list,
name: atom(),
private?: boolean(),
relationship_path: {:ok, [atom()]} | {:error, String.t()},
sort: term()
}