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

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Incomplete
    • None
    • None
    • mongoexport
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: