Details

    Description

      Looking at the source code on GitHub, the SDK doesn't have a query method on the Collection class, but it's being used here in an example. A query doesn't make much sense below the Cluster level anyhow since the "FROM" in the N1QL statement denotes a bucket

      Reporter: Kevin Ralphs
      E-mail: Kevin.Ralphs@uga.edu

      Attachments

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

        Activity

          This should probably be cluster.query as in the ScanConsisteny (RYOW) example on the same page.

           

           

           

          michael.reiche Michael Reiche added a comment - This should probably be cluster.query as in the ScanConsisteny (RYOW) example on the same page.      

          Indeed. Thanks for that Michael Reiche 
          (and thanks for the bug report, Kevin.)

          I've built it to the staging site https://docs-staging.couchbase.com/nodejs-sdk/3.0/howtos/n1ql-queries-with-sdk.html
          Just waiting to see if the production site can be built soon.

          richard.smedley Richard Smedley added a comment - Indeed. Thanks for that Michael Reiche   (and thanks for the bug report, Kevin.) I've built it to the staging site  https://docs-staging.couchbase.com/nodejs-sdk/3.0/howtos/n1ql-queries-with-sdk.html Just waiting to see if the production site can be built soon.
          richard.smedley Richard Smedley added a comment - https://docs.couchbase.com/nodejs-sdk/3.0/howtos/n1ql-queries-with-sdk.html

          People

            richard.smedley Richard Smedley
            docsite-collector Docs Site Collector
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty