Ecto v2.2.10 Ecto.Association.HasThrough View Source
The association struct for
has_many through associations.
Its fields are:
cardinality- The association cardinality
field- The name of the association field on the schema
owner- The schema where the association was defined
owner_key- The key on the
ownerschema used for the association
through- The through associations
relationship- The relationship to the specified schema, default
Link to this section Summary
Link to this section Functions
Performs the repository change on the association.
Receives the parent changeset, the current changesets and the repository action options. Must return the persisted struct (or nil) or the changeset error.
Callback implementation for