JSON_MERGE_PRESERVE()
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_PRESERVE(
'{ "a": 1, "b":2 }',
'{ "a": 5, "c":1 }',
'{ "b": 3, "d":1 }') AS three_inputs;
+--------------------------------------------+
| three_inputs |
+--------------------------------------------+
| {"a": [1, 5], "b": [2, 3], "c": 1, "d": 1} |
+--------------------------------------------+