Ash.Resource.Aggregate (ash v1.46.8) View Source

Represents a named aggregate on the resource that can be loaded

Link to this section Summary

Link to this section Types

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()
}

Link to this section Functions

Link to this function

relationship_path(value)

View Source