Search documentation of ash

# Ash.Resource.Relationships (ash v3.4.71)

View Source

Types Ash relationships

# Summary

## Types

cardinality()
relationship()
type()

# Types

# cardinality()

    @type cardinality() :: :many | :one

# relationship()

    @type relationship() ::
      Ash.Resource.Relationships.HasOne.t()
      | Ash.Resource.Relationships.BelongsTo.t()
      | Ash.Resource.Relationships.HasMany.t()
      | Ash.Resource.Relationships.ManyToMany.t()

# type()

    @type type() :: :has_many | :has_one | :belongs_to | :many_to_many