I am trying to pull a document from the Meteor collection without the _id field, but not including:
Db.find({foo: bar}, {fields: { test1: 1, test2: 1, _id: 0 }})
and exception:
Db.find({foo: bar}, {fields: { test3: 0, _id: 0 }})
seems to work. Both just return an empty array. I know that it is possible to pull out a document with excluded _id in Mongo, is it in Meteor?
source share