operator to return specific data of a mongodb query

JavaScript
db.inventory.find( { status: "A" }, { item: 1, status: 1 } )

Source

Also in JavaScript: