Replies: 1 comment 1 reply
-
Try using the SQLAlchemy text() function (see here: https://www.tutorialspoint.com/sqlalchemy/sqlalchemy_core_using_textual_sql.htm) alongside the old style Session.execute() function. So your example would look something like:
|
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
First Check
Commit to Help
Example Code
Description
The previous version of sqlmodel was executable, but the new version suggested that I use exec. However, I found that exec cannot implement my original function. How should I modify it
Operating System
Windows
Operating System Details
No response
SQLModel Version
0.0.14
Python Version
Python 3.11.2
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions