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
What is the way to do it with sqlmodel ?
Bonus: In the code last_result is a tuple, is it possible to get a SQLModel back with extra column rank ?
Thank you a lot,
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First Check
Commit to Help
Example Code
Description
I need to do exactly the same as, compute a rank by some column and filter on it:
https://stackoverflow.com/questions/40635099/convert-rank-and-partition-query-to-sqlalchemy
If I tried the same thing with sqlmodel its works but I have plenty of DeprecationWarning, so they might be something wrong.
I got this:
What is the way to do it with sqlmodel ?
Bonus: In the code
last_result
is a tuple, is it possible to get a SQLModel back with extra columnrank
?Thank you a lot,
Operating System
macOS
Operating System Details
No response
SQLModel Version
0.0.14
Python Version
3.11
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions