You can edit existing documents in your collection.
When you edit a document in List or Table view, Compass performs a findOneAndUpdate operation and updates only those fields that you have changed.
When you edit a document in JSON view, Compass performs a findOneAndReplace operation and replaces the document.
- Modifying documents is not permitted in MongoDB Compass Readonly Edition.
Select the appropriate tab based on whether you are viewing your documents in List, JSON, or Table view:
To exit the edit mode and cancel all pending changes to the document, click the Cancel button.