Replies: 1 comment 1 reply
-
Why are you inheriting from If you could write a failing test / otherwise provide something a dev might be able to reproduce on their machine, that would go 90% to identifying and solving the problem. |
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
-
First Check
Commit to Help
Example Code
Description
So I've have created class objects, queried them and everything works fine. I created a view in postgres and can query it in pgadmin (using sqlalchemy's execute text too) without any problems but when I do using the orm model it just return a copy of the first row N amount of times instead of the real data.
Here is an example of me querying data in pgadmin and using sqlmodel's orm
Operating System
Linux
Operating System Details
Manjaro linux, postgres 15.3
SQLModel Version
0.0.16
Python Version
3.11
Additional Context
I open to any ideas how to circumvent this. My data is normalised so I can't really do without a view
Beta Was this translation helpful? Give feedback.
All reactions