Docs Home → Develop Applications → MongoDB Manual
Update Methods![](/docs/v5.2/assets/link.svg)
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoDB server.
MongoDB provides the following methods for updating documents in a collection:
Updates at most a single document that match a specified filter
even though multiple documents may match the specified filter. | |
Update all documents that match a specified filter. | |
Replaces at most a single document that match a specified filter
even though multiple documents may match the specified filter. |
Additional Methods![](/docs/v5.2/assets/link.svg)
The following methods can also update documents from a collection:
See the individual reference pages for the methods for more information and examples.