How to SELECT using JSON for WHERE-clause #2023
Unanswered
brainbytes42
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Example Code
Description
I want to use a JSON-Column in my SELECT's WHERE, but the select seems to find no result.
Although the JSON-Data is contained in that row:
the generated query seems kind of correct, althought the JSON_QUOTE seems to prevent it from working. if I remove this call, the query works as expected.
Another workaround i found, is to add
as_string()to the select, but I don't know if this is the intended way - at least, it seems not to be documented anywhere...?Thanks for clarification and maybe updating docs (or ideally fixing the code, so that my original attemt just works 😉).
Operating System
Windows
Operating System Details
No response
Project Version
0.0.39
Python Version
No response
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions