JSON "subscription" syntax (since Postgres 14) #3006
Unanswered
ivan-kleshnin
asked this question in
Q&A
Replies: 2 comments 4 replies
-
I'd love jsonb Subscripting support too |
Beta Was this translation helpful? Give feedback.
0 replies
-
u can fallback to sql on key level like .set({key: sql``)} |
Beta Was this translation helpful? Give feedback.
4 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
From https://aaronbos.dev/posts/postgres-14-json
Is it possible to generate this type of query without falling back to raw SQL?
Here's my working code:
Query builder seemingly does not support
sql
in.set()
:Do I miss something or it's really not supported as, perhaps, something Postgres specific?
Beta Was this translation helpful? Give feedback.
All reactions