champs de sélection MongoDB
db.inventory.find( { status: "A" }, { item: 1, status: 1 } )
Annoying Ant
db.inventory.find( { status: "A" }, { item: 1, status: 1 } )
db.inventory.find( { status: "A" }, { item: 1, status: 1 } )
//1 to show and 0 to hide
//_id always included need to be set to 0 if not needed
db.inventory.find( { age: "10" }, { _id: 0 , age: 1, user: { name: 1 } } )