JSON SEARCH란?
- 말그대로 json으로 된 데이터를 검색하는 것
JSON_SEARCH(json_doc, one_or_all, search_str[, escape_char[, path] ...])
string만 검색이 되고 number은 적용되지 않는다.
자료형식이 단일 객체일때
JSON_SEARCH(driver, "all", "22마3384", null, "$.truckNo")
배열안의 객체일때
JSON_SEARCH(workerList, "all", "김워커", null, "$[*].name")