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

Recursive example does not include back ticks on index creation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • 7.6.2
    • 7.6.0
    • documentation, query
    • None
    • DOC-2023-S26
    • 0

    Description

      PR link: https://github.com/couchbaselabs/docs-devex/pull/179

       


       

      On this page https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/with-recursive.html the sample create index code reads like this:

       

      CREATE INDEX srcdestidx ON travel-sample.inventory.route( sourceairport, destinationairport );

       

      This statement fails without the back-ticks around travel-sample.  Should read:

       

      CREATE INDEX srcdestidx ON `travel-sample`.inventory.route( sourceairport, destinationairport );

      Attachments

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

        Activity

          People

            julia.browne Julia Browne
            peter.reale Peter Reale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty