Docs Home
Node.js Driver
Select a version
Get Started
Connect
CRUD Operations
Promises
Aggregation
Data Formats
Indexes
Run a Database Command
Atlas Search
Atlas Vector Search
Monitoring and Logging
Security
Usage Examples
Find
Insert
Update & Replace
Update a Document
Update Multiple Documents
Delete
Distinct Field Values
Run a Command
Bulk Operations
Perform a Transaction
Reference
TypeScript
API Documentation
Issues & Help
View the Source
Docs Menu
Ask MongoDB AI
Docs Home
/
Languages
/
JavaScript
/
Node.js Driver
/
Usage Examples
Update & Replace Operations
Copy page
This version of the documentation is archived and no longer supported. View the
current documentation
to learn how to
upgrade your version of the Node.js driver
.
Update a Document
Update Multiple Documents
Replace a Document
Back
Insert Multiple Documents
Next
Update a Document
Rate this page