Async, upsert get_or_create, helpers #1930
Replies: 3 comments
-
|
I was able to run in async using this tutorial |
Beta Was this translation helpful? Give feedback.
-
|
this repo shows a good way to create an async session https://github.com/Cedric-Magnan/fastapi-async-sqlmodel/blob/main/app.py |
Beta Was this translation helpful? Give feedback.
-
|
👋 I was looking for the exact same helpers, so I built them into a wrapper library! It adds |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
# generic question, no code sample.Description
I understand this is still a very very very new project, and that the current documentation is not as well vetted as FastAPI is. So if the following exists, maybe someone can point me to documentation or example and maybe I can help write it up.
sqlmodelis async aware or how to use it if it is.upsertandget_or_createare absent fromsqlmodel, is there a plan to add native support for these options?Operating System
Linux, macOS
Operating System Details
No response
SQLModel Version
0.0.4
Python Version
3.9.5
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions