> db.test.findOne() { "_id" : ObjectId("54b4fa2618c1e7c4365f43dc"), "family" : "Smith", "children" : [ { "child_name" : "John" }, { "child_name" : "Anna" } ] } ------------------------------------------------------------------------------------------------------------------------ > db.test.find({"family" : "Smith"},{"children" : 1, "family" : 0,"_id":0}) error: { "$err" : "You cannot currently mix including and excluding fields. Contact us if this is an issue.", "code" : 10053 } > db.test.find({"family" : "Smith"},{"children" : 0, "family" : 1 ,"_id":0}) error: { "$err" : "You cannot currently mix including and excluding fields. Contact us if this is an issue.", "code" : 10053 } > > db.test.find({"family" : "Smith"},{"children" : 0, "family" : 1 ,"_id":1}) error: { "$err" : "You cannot currently mix including and excluding fields. Contact us if this is an issue.", "code" : 10053 } > > db.test.find({"family" : "Smith"},{"children" : 0, "family" : 0 ,"_id":1}) error: { "$err" : "You cannot currently mix including and excluding fields. Contact us if this is an issue.", "code" : 10053 } > ------------------------------------------------------------------------------------------------------------------------ > db.test.find({"family" : "Smith"},{"children" : 1, "family" : 1 ,"_id":0}) { "family" : "Smith", "children" : [ { "child_name" : "John" }, { "child_name" : "Anna" } ] } >