Need help in understanding the concept

Hi
Just now I have learnt the concept of updating the documents in mongo shell using the updateOne and updateMany function.

Is it possible to update multiple fields in MongoDB COMPASS-like we do it in the shell?
Please help me as it’s not possible for me to edit each field all the time in MongoDB compass.

thank you

You can manually update multiple fields using the built in document editor, but if you are looking for a GUI equivalent of the Mongo shell where you can execute updateOnes and UpdateMany, I don’t believe it exists in Compass at the moment.

There are CosmosDB extension for Visual Studio Code which may be of interest though.

2 Likes