Bring back the raw sql query support #1013
Unanswered
NaviteLogger
asked this question in
Questions
Replies: 2 comments 7 replies
-
Is there any update on this? Is it impossible to execute a raw SQL query with SQLModels at the moment? |
Beta Was this translation helpful? Give feedback.
4 replies
-
My solution was to drop sqlmodel and go back sqlalchemy. It provides way more options instead of this limited library |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
What is currently happening is session.execute is going out of support, it is deprecated as of this moment. How to execute raw SQL queries on the database using session? Session.exec seems to have no support for raw queries.
#772
this is a traceback to a discussion about raw queries, but it uses the deprecated session.execute()
Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.19
Python Version
3.12.3
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions