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

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mongoexport
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: