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

Change of results for object_pairs and object_inner_pairs

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Critical
    • 4.6
    • 4.6
    • query, release-notes
    • None

    Description

      As per bug:
      https://issues.couchbase.com/browse/MB-20128

      we need to document the change of results for object_pairs and object_inner_pairs.
      Now the results are:
      SELECT object_pairs(indexMap) FROM default limit 1;
      has val in results instead of value for 4.6.
      "results": [
      {
      "$1": [

      { "name": "key1", "val": "val1" }

      ,

      { "name": "key2", "val": "val2" }

      ]
      }
      ],

      In 4.5.1 it used to be:
      "results": [
      {
      "$1": [

      { "name": "key1", "value": "val1" }

      ,

      { "name": "key2", "value": "val2" }

      ]
      }
      ],

      Same is true for object_inner_pairs.

      Please make sure this is part of release notes where features changes are mentioned.

      Attachments

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

        Activity

          People

            shilpa.lele Shilpa Lele (Inactive)
            Prerna.Manaktala Prerna Manaktala (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