JSON_MERGE()
This page is part of MariaDB's 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_MERGE('[1, 2]','[3, 4]','[5, 6]')
+----------------------------------------+
| JSON_MERGE('[1, 2]','[3, 4]','[5, 6]') |
+----------------------------------------+
| [1, 2, 3, 4, 5, 6] |
+----------------------------------------+
SET @json = '{ "a":1,"b":2,"c":3}';
SELECT JSON_MERGE(@json,'[1, 2]','[3, 4]','[5, 6]');
+----------------------------------------------+
| JSON_MERGE(@json,'[1, 2]','[3, 4]','[5, 6]') |
+----------------------------------------------+
| [{"a": 1, "b": 2, "c": 3}, 1, 2, 3, 4, 5, 6] |
+----------------------------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.