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

cbimport json page mentions generating a key from a nested field path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 6.x Doc Updates
    • tools
    • None

    Description

      https://docs.couchbase.com/server/6.0/tools/cbimport-json.html#key-generators
      mentions referencing a nested field for generating a key but this is not possible in 6.0.x.

      To reference a nested field we would use "parent.child" syntax. For example to reference tha country we would use '%address.country%'. To reference a field that contains a dot in the name we escape the string using `` . For example '%`address.country`%' refers to a field named "address.country".

      MB-29092 adds support for generating a key using a field nested within the JSON structure

      Attachments

        Issue Links

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

          Activity

            People

              pvarley Patrick Varley (Inactive)
              anne.rafter Anne Rafter [X] (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