[tutorial] Many-to-many relationship commit works w/o session.add #883
Unanswered
UncleGoogle
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
In the tutorial there is a sentence:
When I tested this, it looks like removing
session.add(team_z_force)
also works as expected. Why is that?---- UPDATE after short reserarch
I found that (from sqlalchemy perspective):
is the above sentence true?
Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.16
Python Version
3.12.2
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions