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

example 3 require where clause for index to use

    XMLWordPrintable

Details

    Description

      https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/indexing-meta-info.html

      SELECT name, META().cas
      FROM `travel-sample`.inventory.hotel
      WHERE META().cas IS NOT NULL
      ORDER BY META().cas DESC
      LIMIT 2;

      Attachments

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

        Activity

          People

            simon.dew Simon Dew
            docsite-collector Docs Site Collector
            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