Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
The dynamic object construction, merges all the objects returned by the inner expression into a single object with a so-called "simple object union". A simple object union creates a new object, the pairs property of which is obtained by accumulating the pairs of all operand objects. An error jerr:JNDY0003 is raised if two pairs with the same name are encountered.
Example Query:
let $object1 :=
let $object2 :=
{ "First officer" : "Spock" }return
{| $object1, $object2 |}Result:
[1]
[1] http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html#idm139680686311712
Attachments
Issue Links
- is part of
-
VXQUERY-178 Support JSONiq
- Open