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 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 Returns:
a patch operation