Ecto v1.1.0 Ecto.Association.HasThrough

The association struct for has_one and has_many through associations.

Its fields are:

  • cardinality - The association cardinality
  • field - The name of the association field on the model
  • owner - The model where the association was defined
  • owner_key - The key on the owner model used for the association
  • through - The through associations