Namespace: patchBuilderCollections

patchBuilderCollections

Specifies operations to patch the collections of a document.

Methods


add(collection) → {patchBuilder.PatchOperation}

Specifies a collection to add to a document's metadata.
Parameters:
Name Type Description
collection string the name of the collection
Since:
  • 1.0
Returns:
a patch operation
Type
patchBuilder.PatchOperation

remove(collection) → {patchBuilder.PatchOperation}

Specifies a collection to remove from a document's metadata.
Parameters:
Name Type Description
collection string the name of the collection
Since:
  • 1.0
Returns:
a patch operation
Type
patchBuilder.PatchOperation
Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. Documentation generated by JSDoc 4.0.5 on 2026-07-21T00:22:53-04:00 using the DocStrap template.