ash v1.6.5 Ash.Resource.Relationships.BelongsTo View Source
Represents a belongs_to relationship on a resource
Link to this section Summary
Link to this section Types
Specs
t() :: %Ash.Resource.Relationships.BelongsTo{
cardinality: :one,
define_field?: boolean(),
destination: Ash.resource(),
destination_field: atom(),
field_type: Ash.Type.t(),
name: atom(),
primary_key?: boolean(),
source: Ash.resource(),
source_field: atom() | nil,
type: :belongs_to,
writable?: boolean()
}