In MariaDB, JSON_QUERY()
is a built-in function that returns an object or array from a JSON document, based on the path provided.
It’s similar to the JSON_VALUE()
function, except that it returns an object or array instead of a scalar (JSON_VALUE()
returns a scalar).