JSON_EXISTS()
This page is part of MariaDB's MariaDB Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
A description for this Function has not yet been added to this Documentation.
EXAMPLES
SELECT JSON_EXISTS('{"a":"A", "b":"B","c":[1, 2, 3]}', "$.c");
+--------------------------------------------------------+
| JSON_EXISTS('{"a":"A", "b":"B","c":[1, 2, 3]}', "$.c") |
+--------------------------------------------------------+
| 1 |
+--------------------------------------------------------+
SELECT JSON_EXISTS('{"a":"A", "b":"B","c":[1, 2, 3]}', "$.d");
+--------------------------------------------------------+
| JSON_EXISTS('{"a":"A", "b":"B","c":[1, 2, 3]}', "$.d") |
+--------------------------------------------------------+
| 0 |
+--------------------------------------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.