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

Please add documentation for object_concat and object_remove

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 4.6
    • 4.6
    • query

    Description

      Hi Amarantha

      Can you please add documentation for OBJECT_CONCAT() (New function)
      OBJECT_REMOVE()

      Examples:
      select OBJECT_CONCAT(

      {"abc":1}

      ,

      {"def":2}

      ,

      {"fgh":3}

      );
      {
      "requestID": "16982e13-2426-424c-ad90-98104e1d50fd",
      "signature":

      { "$1": "object" }

      ,
      "results": [
      {
      "$1":

      { "abc": 1, "def": 2, "fgh": 3 }

      }
      ],
      "status": "success",
      "metrics":

      { "elapsedTime": "1.362178ms", "executionTime": "1.342968ms", "resultCount": 1, "resultSize": 122 }

      }

      select OBJECT_REMOVE(

      {"abc":1,"def":2,"fgh":3}

      ,"def");
      {
      "requestID": "ddddde59-e648-4ed7-a772-f25e7a522acc",
      "signature":

      { "$1": "object" }

      ,
      "results": [
      {
      "$1":

      { "abc": 1, "fgh": 3 }

      }
      ],
      "status": "success",
      "metrics":

      { "elapsedTime": "778.603µs", "executionTime": "750.448µs", "resultCount": 1, "resultSize": 96 }

      }

      Attachments

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

        Activity

          People

            amarantha.kulkarni Amarantha Kulkarni (Inactive)
            Prerna.Manaktala Prerna Manaktala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty