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

Allow query engine to report full hierarchy of selected fields

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Major
    • 7.1.0
    • 4.0.0
    • query
    • Security Level: Public

    Description

      Likely as an extra option.

      Recently a customer has requested the ability for the query output to include the full "path" of a selected output.

      i.e.:
      doc {
      firstlevel{
      secondlevel

      { field1 field2 }

      }
      }

      When selecting "field1", the output should look like firstlevel{secondlevel{field1}}

      This is already possible when the full path is known by the calling application, but there are functions like WITHIN that allow the query engine to "find" a given field within an unknown hierarchy. This enhancement would be to cover those cases.

      Attachments

        Issue Links

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

          Activity

            People

              pierre.regazzoni Pierre Regazzoni
              perry Perry Krug
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty