View Source Ash.Resource.Relationships.HasMany (ash v3.0.11)

Represents a has_many relationship on a resource

Summary

Types

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

Functions