xdmp.documentRemoveMetadata( uri as String, metadata as String[] ) as null
Removes metadata with certain keys from a document.
Parameters | |
---|---|
uri | The document URI. |
metadata | Name of the metadata to be removed. |
declareUpdate(); xdmp.documentRemoveMetadata("/foo.json", ["blah"])
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.