View Source Ash.Resource.Relationships.HasMany (ash v2.5.16)

Represents a has_many relationship on a resource

Link to this section Summary

Link to this section Types

@type t() :: %Ash.Resource.Relationships.HasMany{
  api: term(),
  cardinality: :many,
  context: term(),
  could_be_related_at_creation?: term(),
  description: String.t(),
  destination: Ash.Resource.t(),
  destination_attribute: atom(),
  filter: Ash.Filter.t() | nil,
  filterable?: boolean(),
  manual: atom() | {atom(), Keyword.t()} | nil,
  name: atom(),
  no_attributes?: boolean(),
  not_found_message: term(),
  private?: boolean(),
  read_action: atom(),
  sort: term(),
  source: Ash.Resource.t(),
  source_attribute: atom(),
  type: :has_many,
  validate_destination_attribute?: term(),
  violation_message: term(),
  writable?: boolean()
}

Link to this section Functions