-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Platforms 2016-08-26
-
Needed
If one attempts to use mongoexport with multiple fields, as in the following:
mongoexport --db stuff --collection things --fields "foo, bar" --out output.json
The operation successfully completes, but only exports the _id and foo fields, which is not what one would anticipate. We document not to include a space, but it would maybe make more sense to either support this formatting or error out if a space was included.