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

documentation appears completely wrong for SDK 3.1

    XMLWordPrintable

Details

    Description

      SDK 3.1 doesn't support `new couchbase.Cluster()`.

      `couchbase.connect()` seems to be correct way to instantiate, according to the SDK API.

      Since the VERY first chunk of code documented for usage of the SDK appears incorrect, I'm forced to wonder how much of the rest of the SDK is incorrectly documented. All of it?

      Reporter: Robert Mirabelle
      E-mail: rmirabelle@gmail.com

      Attachments

        Issue Links

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

          Activity

            Hi Robert Mirabelle, I'm looking at this now. I've not managed to replicate this yet, so just wanted to check in to make sure I've understood everything:

            I've run

            # npm -v
            6.14.11
            # node -v
            v15.5.1
            # npm view couchbase version
            3.1.0
            

             

            Then I added the code snippets to index.js and ran node index.js

            This gives the output as expected. Could you clarify what's not working / unexpected for you?

            hakim.cassimally Hakim Cassimally added a comment - Hi Robert Mirabelle , I'm looking at this now. I've not managed to replicate this yet, so just wanted to check in to make sure I've understood everything: I've run # npm -v 6.14 . 11 # node -v v15. 5.1 # npm view couchbase version 3.1 . 0   Then I added the code snippets to index.js  and ran node index.js This gives the output as expected. Could you clarify what's not working / unexpected for you?

            Hi Robert Mirabelle, hope you're well.

            As I've not heard back from you and couldn't replicate the issue, I'm going to resolve this ticket for now. If you  so have any further problems, please do reopen or raise a new one, and we'll look into it.

            hakim.cassimally Hakim Cassimally added a comment - Hi Robert Mirabelle , hope you're well. As I've not heard back from you and couldn't replicate the issue, I'm going to resolve this ticket for now. If you  so have any further problems, please do reopen or raise a new one, and we'll look into it.

            People

              hakim.cassimally Hakim Cassimally
              rmirabelle Robert Mirabelle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty