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

mongoexport exporting to json with --fields does not export _id field if it is not explicitly specified

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      This is a change from legacy, which DOES export the _id field in this case regardless of whether it is specified. Reproducing test attached (passes using legacy mongoexport).

            Assignee:
            Unassigned Unassigned
            Reporter:
            sam.helman@10gen.com sam.helman@10gen.com
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: