You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -56,7 +56,7 @@ Let's see the `Team` model, it's almost identical as before, but with a little c
56
56
57
57
</details>
58
58
59
-
The **relationship attribute `heroes`** is still a list of heroes, annotatted as `List["Hero"]`. Again, we use `"Hero"` in quotes because we haven't declared that class yet by this point in the code (but as you know, editors and **SQLModel** understand that).
59
+
The **relationship attribute `heroes`** is still a list of heroes, annotated as `List["Hero"]`. Again, we use `"Hero"` in quotes because we haven't declared that class yet by this point in the code (but as you know, editors and **SQLModel** understand that).
60
60
61
61
We use the same **`Relationship()`** function.
62
62
@@ -69,7 +69,7 @@ And here's the important part to allow the **many-to-many** relationship, we use
69
69
Let's see the other side, here's the `Hero` model:
0 commit comments