Members
Methods
# static connect(connStr, optionsopt, callbackopt) → {Promise.<Cluster>}
Creates a new Cluster object for interacting with a Couchbase cluster and performing operations.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
connStr |
string | The connection string of your cluster |
|
options |
Object |
<optional> |
|
username |
string |
<optional> |
The RBAC username to use when connecting to the cluster. |
password |
string |
<optional> |
The RBAC password to use when connecting to the cluster |
clientCertificate |
string |
<optional> |
A client certificate to use for authentication with the server. Specifying this certificate along with any other authentication method (such as username and password) is an error. |
certificateChain |
string |
<optional> |
A certificate chain to use for validating the clusters certificates. |
callback |
ConnectCallback |
<optional> |
Promise.<Cluster>