Creates a collection in a scope.
Specifies the settings for the new collection.
Optional
options: CreateCollectionOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Use the other overload instead.
Creates a collection in a scope.
Optional
options: CreateCollectionOptionsOptional
callback: NodeCallback<void>Creates a collection in a scope.
The name of the collection.
The name of the scope containing this collection.
Optional
settings: CreateCollectionSettingsThe settings to use on creating the collection.
Optional
options: CreateCollectionOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Creates a new scope.
The name of the new scope to create.
Optional
options: CreateScopeOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Drops a collection from a scope.
The name of the collection to drop.
The name of the scope containing the collection to drop.
Optional
options: DropCollectionOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Drops a scope.
The name of the scope to drop.
Optional
options: DropScopeOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Returns all configured scopes along with their collections.
Optional
options: GetAllScopesOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<ScopeSpec[]>A node-style callback to be invoked after execution.
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.
Optional
options: UpdateCollectionOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
CollectionManager allows the management of collections within a Bucket.