Skip to content

Glossary: MongoDB

updateOne / updateMany

Also written: updateOne(), updateMany()

Methods that change the first matching document or every match, using update operators. The result shows `matchedCount` and `modifiedCount`.

Where the book teaches it

Related terms

Update operatorUpsert