On this page
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 schemaowner- The schema where the association was definedowner_key- The key on theownerschema used for the associationthrough- The through associationsrelationship- The relationship to the specified schema, default:child
© 2013 Plataformatec
© 2020 Dashbit
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/ecto/Ecto.Association.HasThrough.html