Ecto.Association.HasThrough (Ecto v3.5.0) View Source

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 schema
  • owner - The schema where the association was defined
  • owner_key - The key on the owner schema used for the association
  • through - The through associations
  • relationship - The relationship to the specified schema, default :child

Link to this section Summary

Functions

Callback implementation for c:Ecto.Association.on_repo_change/5.

Link to this section Functions

Link to this function

on_repo_change(map, _, _, _, _)

View Source

Callback implementation for c:Ecto.Association.on_repo_change/5.