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

bucket.viewQuery should be async in the documentation

    XMLWordPrintable

Details

    Description

      https://github.com/couchbase/docs-sdk-nodejs/issues/146

      The docs for querying views shows this:
      {{var result = bucket.viewQuery('beers', 'by_name', { range:

      { start: 'A' }

      , limit: 10, })}}

      Should be :
      {{var result = await bucket.viewQuery('beers', 'by_name', { range:

      { start: 'A' }

      , limit: 10, })}}

       

      Attachments

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

        Activity

          People

            richard.smedley Richard Smedley
            maria.shodunke Maria Shodunke (Inactive)
            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