Hello,
I’m trying to run a query that utilizes JSONSEARCH in order to implement a search filter for our app.
We’re using the following query, which works, but is case-sensitive:
`JSONSEARCH(properties.value, 'one', '%${filterSearch.value}%') IS NOT NULL`
Changing it to ignore cases does not work however:
`JSONSEARCH(LOWER(properties.value), 'one', '%${filterSearch.value.toLowerCase()}%') IS NOT NULL`
Error: Where clause is invalid
Is it not possible to use string manipulation on JSON columns? If not, is there another method of doing case-insensitive json_search?
Thank you!