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