mongodb find return only certain fields code example Example: return only specific fields mongodb db.inventory.find( { status: "A" }, { item: 1, status: 1 } )