How to use JSON field in query
I've already made an issue on GitHub kind of pertaining to this issue, but I don't know if its actually a bug or if I'm just not using it correctly.
Reference:
https://github.com/drizzle-team/drizzle-orm/issues/463
Basically, I have a JSON field and I'm trying to find a user with a field in that JSON object.
I've tried
and
But always got this issue.
Any idea? Thanks for your time in advance
!
Reference:
https://github.com/drizzle-team/drizzle-orm/issues/463
Basically, I have a JSON field and I'm trying to find a user with a field in that JSON object.
I've tried
and
But always got this issue.
Any idea? Thanks for your time in advance
GitHub![[BUG]: Can't have a WHERE clause with JSON fields · Issue #463 · dr...](https://images-ext-1.discordapp.net/external/NgMBXBzUEXoLgDqOFkAPXo2tyJ_wl8g56yqBtdn91v8/https/opengraph.githubassets.com/c433193b2b3aadcca946d2af26386525f2b93563b7ce9a926243c27ac270335e/drizzle-team/drizzle-orm/issues/463)
What version of drizzle-orm are you using? 0.23.13 What version of drizzle-kit are you using? No response Describe the Bug I can't seem to get a successful query going with trying to select thi...