json-sql-builder2
json-sql-builder2 copied to clipboard
MySQL | possible to search JSON values
Quick question, do you support a mysql query like this:
select * from event where
data->"$.foo" = 'bar'
The data column is of type JSON, I tried a few different approaches through the json builder, but no success.
I see in the docs that you support this for postgres, but I don't see a solution for mysql. Please let me know your thoughts. Maybe I can help you solve the missing puzzle piece if needed.