mysql select json_extract code example
Example 1: mysql JSON_SEARCH LIKE
$query=$query->whereRaw('UPPER(education->"$[*].profession") LIKE UPPER("%' . $profession . '%")');
Example 2: json_extract in non native query
Query query = em.createQuery("select o from Product o FUNCTION('JSON_EXTRACT', o.des, '$.org') = :org");