Search documentation of ash

# View Source Ash.Resource.Relationships (ash v3.4.30)

Types Ash relationships

# Summary

## Types

cardinality()
relationship()
type()

# Types

Link to this type

# cardinality()

View Source

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

Link to this type

# relationship()

View Source

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

Link to this type

# type()

View Source

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