mongoexport --fields argument is ignored when exporting in JSON

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.8.0-rc4
    • Affects Version/s: Legacy C++ Implementation
    • Component/s: mongoexport
    • None

      When exporting JSON formated data from a collection using the mongoexport command the --fields argument ( regardless of it if it is used as -f or --fields ) is ignored, so a full verbose JSON document is included for each record.

      However the --field filter is follwed should the format be set to the --csv override.

            Assignee:
            Michael O'Brien
            Reporter:
            Pete Hotchkiss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: