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

CREATE INDEX Syntax Missing ASC/DESC

    XMLWordPrintable

Details

    Description

      From Server 5.0 it is possible to specify ASC or DESC for individual fields:

      CREATE INDEX `def_city_desc` ON `travel-sample`(`city` DESC)
      

      This is mentioned in discussion of the MAX() pushdown but not covered in the syntax.

      Attachments

        Issue Links

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

          Activity

            People

              simon.dew Simon Dew
              malarky Chris Malarky
              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