couchbase
    Preparing search index...

    Function connect

    • Acts as the entrypoint into the rest of the library. Connecting to the cluster and exposing the various services and features.

      Parameters

      • connStr: string

        The connection string to use to connect to the cluster.

      • Optionaloptions: ConnectOptions

        Optional parameters for this operation.

      • Optionalcallback: NodeCallback<Cluster>

        A node-style callback to be invoked after execution.

      Returns Promise<Cluster>