Ecto.Association.HasThrough
The association struct for has_one
and has_many
through associations.
Its fields are:
cardinality
- The association cardinalityfield
- The name of the association field on the modelowner
- The model where the association was definedowner_key
- The key on theowner
model used for the associationthrough
- The through associations