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

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Ash.Resource.Relationships.HasOne{
  allow_orphans?: boolean(),
  cardinality: :one,
  destination: Ash.resource(),
  destination_field: atom(),
  name: atom(),
  reverse_relationship: atom() | nil,
  source: Ash.resource(),
  source_field: atom(),
  type: :has_one
}