Details
-
Improvement
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
None
Description
> db.collname.find({_id:ObjectId("51e9d3ace847a628a9000008")},
{"_id": 0})
> db.collname.find({_id:ObjectId("51e9d3ace847a628a9000008")},
{"_id": false})
These both seem to return the same result. While the wire documentation says "The returnFieldsSelector...integer value 1", boolean value true/false also seems to work. Is this officially supported? Can this potentially be mentioned in the documentation?
Thanks