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: PingOptionsOptional parameters for this operation.
Optionalcallback: NodeCallback<PingResult>A node-style callback to be invoked after execution.
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: ViewQueryOptionsOptional parameters for this operation.
Optionalcallback: NodeCallback<ViewResult<TValue, TKey>>A node-style callback to be invoked after execution.
Waits until the bucket reaches the desired state or the timeout elapses.
The time in milliseconds to wait for the bucket to become ready.
Optionaloptions: WaitUntilReadyOptionsOptional parameters.
Optionalcallback: NodeCallback<void>A callback to be invoked after execution.
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.