Creates a new scope.
The name of the new scope to create.
Optionaloptions: CreateScopeOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<void>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Drops a collection from a scope.
The name of the collection to drop.
The name of the scope containing the collection to drop.
Optionaloptions: DropCollectionOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<void>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Drops a scope.
The name of the scope to drop.
Optionaloptions: DropScopeOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<void>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Returns all configured scopes along with their collections.
Optionaloptions: GetAllScopesOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<ScopeSpec[]>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Updates a collection in a scope.
The name of the collection to update.
The name of the scope containing the collection.
The settings to update on the collection.
Optionaloptions: UpdateCollectionOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<void>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
CollectionManager allows the management of collections within a Bucket.