why am i not getting results of raw sql query back??? #339
Unanswered
encryptblockr
asked this question in
Q&A
Replies: 1 comment
-
result = [dict(**r) for r i in result]
> result = [{"id": 3213, "notification_method": "call", "shipped": False}...] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following but for some reason instead of getting results of my query, i am getting something else
here is the python package am using
and here is the documentation
here is what am getting instead of getting results of my query
and type says it is a list
how do i return the actual result of the sql query which is to return all rows from the query???
What i really want to do
what i pretty much want to achieve is to have similar result from sqlalchemy query like below and be able to iterate over the rows from the result of the query
and then i want to be able to iterate over the rows
Beta Was this translation helpful? Give feedback.
All reactions