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

Bucket Names to be escaped in N1QL

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 5.x Doc Updates
    • vulcan
    • eventing
    • None
    • DOC-S17-Jun01, DOC-S18-Jun19, DOC-S19-Jun29, DOC-S20-Jul13[RC], DOC-S21-Jul20[Vulcan GA]

    Description

      While using N1QL inside a Function, escape the bucket names with special characters.

      That is, 

      • if bucket name is 'beer-sample' , then use select * from `beer-sample` where type...
      • if bucket name is 'beersample' , then use select * from beersample where type...

      This is a N1QL expected behaviour to which we should link to: https://developer.couchbase.com/documentation/server/current/n1ql/n1ql-language-reference/identifiers.html

      Attachments

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

        Activity

          People

            mahesh.nagaraj Mahesh Nagaraj (Inactive)
            venkatraman.subramanian Venkatraman Subramanian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty