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

Make member name optional in object constructor

    XMLWordPrintable

Details

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

    Description

      When constructing dynamic objects in N1QL, both names and values need to be provided:

      SELECT

      { "a" : a, "b" : b }

      FROM default;

      For usability, we should allow implicit names:

      SELECT

      { a, b }

      FROM default;

      SELECT

      { a, "b1" : b }

      FROM default;

      Attachments

        For Gerrit Dashboard: MB-19777
        # Subject Branch Project Status CR V

        Activity

          People

            gerald Gerald Sangudi (Inactive)
            gerald Gerald Sangudi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty