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 -
-
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