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

N1QL docs mistakenly state underscores in indexes require backtics

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • query
    • None
    • 1

    Description

      This statement is not correct as it states that underscores must have back-tics, but really it should be hyphens that require back-tics:

      When querying, if the index name contains a # or _ character, you must enclose the index name within back-tics.

      https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/createindex.html#syntax

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty