
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"])