ash v0.1.3 Ash.Resource.Relationships.HasMany View Source

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Ash.Resource.Relationships.HasMany{
  cardinality: :many,
  destination: Ash.resource(),
  destination_field: atom(),
  name: atom(),
  reverse_relationship: atom() | nil,
  source: Ash.resource(),
  source_field: atom(),
  type: :has_many
}

Link to this section Functions

Link to this function

new(resource, resource_type, name, related_resource, opts \\ [])

View Source