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