Docs Menu
Docs Home
/
MongoDB Compass
/ /

Clone Documents

Important

Cloning documents is not permitted in MongoDB Compass Readonly Edition.

You can insert new documents by cloning the schema and values of an existing document in a collection.

Select the appropriate tab based on whether you are viewing your documents in List, JSON, or Table view:

To clone a document, hover over the desired document and click the Clone button.

Clone button
click to enlarge

Note

JSON View is available starting in Compass 1.20.

To clone a document, hover over the desired document and click the Clone button.

Clone button JSON
click to enlarge

To clone a document, hover over the desired document and click the Clone button.

Clone button Table view
click to enlarge

When you click the Clone button, Compass opens the document insertion dialog with the same schema and values as the cloned document. You can edit any of these fields and values before you insert the new document. To learn more about inserting documents, see Insert Documents.

Back

Modify Multiple Documents