Comments - JSON_SEARCH

1 year, 9 months ago ibrahim sayar

These solutions didn't work for me.

I solved my search problem as below:

SELECT * FROM `table_name` where JSON_VALUE(`search_field`, `key`) = `value`

Different Example:

SELECT * FROM notification_logs WHERE JSON_VALUE (data, '$.PERSONAL_NOTIFICATION') = TRUE

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.