Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1769

Add an operator to export all nested fields for CSV output format

    • Type: Icon: New Feature New Feature
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongoexport
    • None

      mongoexport currently projects the entire top-level portion of a document for fields containing a ".". As the entire top-level is projected for dot-delimited field names it would be useful to add an operator like a.$$$.b to iterate on a and extract all values for the nested b fields and write additional lines to output with the CSV representation. This should also be doable in the case if a is an array.

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            byron.grogan Byron Grogan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: