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
I followed the Hero and Team sample it works well but I have a many to many relationship and I get the following message
Parent instance <User at 0x22b6878e880> is not bound to a Session; lazy load operation of attribute 'clients' cannot proceed
I use the sqlAlchem,y orm subquery load option to fix my problem but what is the proper SQLmodel approach for many to many?
(Since it works transparently for 1 to many relationships)
Operating System
Windows
Operating System Details
No response
SQLModel Version
0.0.4
Python Version
3.9.7
Additional Context
No response
The text was updated successfully, but these errors were encountered:
First Check
Commit to Help
Example Code
Description
I followed the Hero and Team sample it works well but I have a many to many relationship and I get the following message
Parent instance <User at 0x22b6878e880> is not bound to a Session; lazy load operation of attribute 'clients' cannot proceed
I use the sqlAlchem,y orm subquery load option to fix my problem but what is the proper SQLmodel approach for many to many?
(Since it works transparently for 1 to many relationships)
Operating System
Windows
Operating System Details
No response
SQLModel Version
0.0.4
Python Version
3.9.7
Additional Context
No response
The text was updated successfully, but these errors were encountered: