How to update a field value in MongoDB with MongoChef

Updating the value of a particular field in a MongoDB document is incredibly simple with MongoChef.

First, open your collection that contains the document to update, and then

In your Tree View:

1.

Select the field whose value you would like to update, and double-click its Value column.

MongoDB GUI

2.

This will bring up the in-cell editor for that field. Simply enter the new value directly in there. For more complex data types (such as dates), MongoChef will also display a tooltip text that shows you as you type what your current input will evaluate to.

 

3.

Hit Enter, and MongoChef will update the field with the new value in its collection.

That’s it!

MongoDB GUI

 

In your Table View:

1.

Select the field whose value you would like to update, and double-click its cell.

MongoDB GUI

2.

As in the Tree View, this will bring up the in-cell editor for that field. Simply enter the new value directly in there.

MongoDB GUI

 

MongoDB GUI

 

3.

Hit Enter, and MongoChef will update the field with the new value in its collection.

That’s it!

MongoDB GUI
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *