get all documents mongodb code example Example: operator to return specific data of a mongodb query db.inventory.find( { status: "A" }, { item: 1, status: 1 } )