A newer version of this documentation is available.

View Latest

Client Settings Using the Node.js SDK with Couchbase Server

    The node.js SDK may be configured using the connection string when instantiating a Bucket object.

    In addition to the connection string, the Bucket object offers a few object attributes which can be used to configure settings during runtime:

    • operationTimeout for key-value operation timeouts (equivalent to operation_timeout in the connection string)

    • viewTimeout to adjust the timeout for MapReduce queries

    • n1qlTimeout to adjust the timeout for N1QL queries

    The unsupported Bucket._cntl and Bucket._cntlstring may be used to modify additional runtime settings which do not have a native Python interface.

    Below follows the C settings section:

    Unresolved include directive in modules/ROOT/pages/client-settings.adoc - include::2.8@c-sdk::page$client-settings.adoc[]