Methods
updateMany()
The updateMany() method is used to interact with collections in MongoDB.
updateMany()
The updateMany() method is used to interact with collections in MongoDB.
Syntax
db.collection.updateMany(...)
Example
db.users.updateMany(...)