Loading TOC...

xdmp.documentRemoveProperties

xdmp.documentRemoveProperties(
   $uri as String,
   $property-names as xs.QName[]
) as null

Summary

Removes a sequence of properties from the properties of a document. If properties with the QNames given do not exist, nothing is done.

Parameters
$uri The URI of the document whose properties are being updated.
$property-names The properties to remove.

Example

declareUpdate();
xdmp.documentRemoveProperties(
       "/example.json",
       (fn.QName("", "priority"),
        fn.QName("", "status")));
=> ()

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy