The name of the bucket this Bucket object references.
Creates a Collection object reference to a specific collection.
The name of the collection to reference.
Returns a CollectionManager which can be used to manage the collections of this bucket.
Creates a Collection object reference to the default collection.
Creates a Scope object reference to the default scope.
Performs a ping operation against the cluster. Pinging the bucket services which are specified (or all services if none are specified). Returns a report which describes the outcome of the ping operations which were performed.
Optionaloptions: PingOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<PingResult>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Creates a Scope object reference to a specific scope.
The name of the scope to reference.
Returns a ViewIndexManager which can be used to manage the view indexes of this bucket.
Executes a view query.
The name of the design document containing the view to execute.
The name of the view to execute.
Optionaloptions: ViewQueryOptions
Optional parameters for this operation.
Optionalcallback: NodeCallback<ViewResult<TValue, TKey>>
A node-style callback to be invoked after execution. Deprecated: await the returned promise instead.
Waits until the bucket reaches the desired state or the timeout elapses.
On a couchbase2:// cluster this is the same as
Cluster.waitUntilReady: it waits for the gateway's health check,
which covers the whole cluster rather than this bucket, and does not use
serviceTypes or desiredState.
The time in milliseconds to wait for the bucket to become ready.
Optionaloptions: WaitUntilReadyOptions
Optional parameters.
Optionalcallback: NodeCallback<void>
A callback to be invoked after execution. Deprecated: await the returned promise instead.
Exposes the operations which are available to be performed against a bucket. Namely the ability to access to Collections as well as performing management operations against the bucket.