mongodb updateMany documents key code example Example: updatemany mongodb db.collection.updateMany(filter, update, options)