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