hi, how do i make a select with a where that searches within a json? I'm using postgres
inside the json there is an id that I want to use to do the search, but I didn't understand how to do it, could you help me?
6 Replies
something like this:
Since 0.26 kysely supports type-safe json traversal.
https://github.com/kysely-org/kysely/pull/440
GitHub
add json traversal support. by igalklebanov · Pull Request #440 · k...
Trying to figure out what we can do, what we should do, and how this can be scoped and explained.
JSON path syntax is supported by all 3 built-in dialects. So having a type-safe JSON path builder ...
What dialect are you using?
im using postgres
@igalklebanov I don't know what I'm doing wrong, sorry I'm newbie
What Kysely version are you using?