Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-9820

Node.js SDK 4.0 Couchbase Capella Example Cluster Connect change

    XMLWordPrintable

Details

    Description

      Refer: https://docs.couchbase.com/nodejs-sdk/current/hello-world/start-using-sdk.html#full-example

      Change FROM

       

      async function go() {
         const cluster = await couchbase.connect(clusterConnStr, {
          username: username,
          password: password,
          trustStorePath: cloudRootCertificate,
        })
      

      TO

       

      async function go() {
      const cluster = await couchbase.connect(clusterConnStr, {
          username: username,
          password: password,
          security: {
            trustStorePath: cloudRootCertificate,
          }
        })
      

       

       

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              richard.smedley Richard Smedley
              krishna.doddi Krishna Doddi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty