I have a table in MySQL that has a column that store JSON objects. How can I easily run queries that can have some of the JSON fields in the WHERE clause?
EX: Wi
Try the following query and see if it fits your needs:
SELECT user_id, json_data FROM articles WHERE common_schema.extract_json_value(json_data,'title') LIKE "%CPU%"
This will only work on MySQL version 5.1 or newer.
MySQL