Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-19809

Allow dynamic names when constructing objects

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • 4.5.1, 5.0.0
    • 4.5.0
    • query
    • None

    Description

      When constructing objects, N1QL requires the names in name-value pairs to be static strings.

      { "a" : 1 + 2 }

      N1QL should allow both names and values to be arbitrary expressions. If a name does not evaluate to a string, the result of the object construction is NULL.

      { x || y : 1 + 2 }

      Attachments

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

        Activity

          People

            Sitaram.Vemulapalli Sitaram Vemulapalli
            gerald Gerald Sangudi (Inactive)
            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