xxxxxxxxxx
db.inventory.find( { status: "A" }, { item: 1, status: 1, _id: 0 } )
xxxxxxxxxx
// ... in mongoose it is also possible to define a field as required in the
// schema defenition like this:
foo : {
bar : { type : String, required : true }
}