✏ Fix typo in docs/tutorial/relationship-attributes/define-relationships-attributes.md (#239)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Jorge Alvarado 2022-08-27 17:31:38 -04:00 committed by GitHub
parent c0a6b2dd8b
commit 0aaf39d539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ Next, use that `Relationship` to declare a new attribute in the model classes:
## What Are These Relationship Attributes
This new attributes are not the same as fields, they **don't represent a column** directly in the database, and their value is not a singular value like an integer. Their value is the actual **entire object** that is related.
These new attributes are not the same as fields, they **don't represent a column** directly in the database, and their value is not a singular value like an integer. Their value is the actual **entire object** that is related.
So, in the case of a `Hero` instance, if you call `hero.team`, you will get the entire `Team` instance object that this hero belongs to. ✨