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

Additional options for OBJECT functions

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus, Elixir
    • Morpheus, Elixir
    • query
    • None
    • 1

    Description

      Additional options have been added to OBJECT_PATHS, OBJECT_PAIRS_NESTED and OBJECT_FILTER:

      exact [boolean](default: false)

      Indicates the pattern used should be an exact match for the field or path (according to the "patternspace" argument).  It is a short-cut for the regular expression start (^) and end ($) anchors but can be used when "regex" is false too.

      ignorecase [boolean](default:false)

      Causes the pattern to be matched ignoring case.

       

      A further option has been added to OBJECT_PAIRS_NESTED:

      report [string: "field" or "path"](default: path)

      Controls the content of the resulting "name" field selecting between either the full path or just the final field name.

      Attachments

        Issue Links

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

          Activity

            People

              simon.dew Simon Dew
              Donald.haggart Donald Haggart
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty