MariaDB JSON_QUOTE() Explained

In MariaDB, JSON_QUOTE() is a built-in function that produces a valid JSON string literal that can be included in a JSON document. 

It wraps the string with double quote characters and escapes interior quotes and other special characters, returning a utf8mb4 string.

Read more

MariaDB JSON_LENGTH() Explained

In MariaDB, JSON_LENGTH() is a built-in function that returns the length of a JSON document.

When you call this function, you provide the JSON document as an argument. You can also provide a path argument to return the length of a value within the document.

Read more

MariaDB JSON_KEYS() Explained

In MariaDB, JSON_KEYS() is a built-in function that returns an array of the top-level keys from a JSON document. If a path is provided, it returns the top-level keys from that path.

It excludes keys from nested sub-objects in the specified level.

Also, if the selected object is empty, an empty array is returned.

Read more