Namespace: patchBuilderMetadataValues

patchBuilderMetadataValues

Specifies operations to patch the metadata values of a document.
Since:
  • 2.0.1

Methods


add(name, value) → {patchBuilder.PatchOperation}

Specifies a new metadata value to add to a document.
Parameters:
Name Type Description
name string the name of the new metadata value
value the value of the new metadata value
Since:
  • 2.0.1
Returns:
a patch operation
Type
patchBuilder.PatchOperation

remove(name) → {patchBuilder.PatchOperation}

Specifies a metadata value to remove from the document.
Parameters:
Name Type Description
name string the name of the metadata value to remove
Since:
  • 2.0.1
Returns:
a patch operation
Type
patchBuilder.PatchOperation

replace(name, value) → {patchBuilder.PatchOperation}

Specifies a metadata value to replace for a document.
Parameters:
Name Type Description
name string the name of the existing metadata value
value the modified value
Since:
  • 2.0.1
Returns:
a patch operation
Type
patchBuilder.PatchOperation
Copyright (c) 2020 MarkLogic Corporation Documentation generated by JSDoc 3.6.4 on 2020-08-04T23:55:49-07:00 using the DocStrap template.