# `Ecto.Association.BelongsTo`
[🔗](https://github.com/elixir-ecto/ecto/blob/v3.13.6/lib/ecto/association.ex#L1091)

The association struct for a `belongs_to` association.

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
  * `related` - The schema that is associated
  * `related_key` - The key on the `related` schema used for the association
  * `queryable` - The real query to use for querying association
  * `defaults` - Default fields used when building the association
  * `relationship` - The relationship to the specified schema, default `:parent`
  * `on_replace` - The action taken on associations when schema is replaced

---

*Consult [api-reference.md](api-reference.md) for complete listing*
