I want to bulk update and bulk delete documents
@leonid I was expanding upon a previous comment that mentioned the mongosh feature, which can be hard to find in Compass since it's new. I was trying to be helpful to those who may want to use that option until bulk delete is implemented in the GUI. I hope you remember for next time that there are varying levels of Compass users.
There is no point in saying that something can be done via MongoSH/CLI/CLI-like tools. Anything can be done via CLI, but what is the point of having GUI then?
This has been implemented in the embedded mongo shell. Please click on the thin bar at the bottom of Compass UI after you connect that says, ">_MONGOSH BETA".
To bulk delete, run the db.collection.deleteOne() or db.collection.deleteMany() command.
Herbert Pimentel commented
They just released a feature that may helps you. at least it solves to me. The terminal (MongoSH) feaure that you can access using the bottom bar.
Please consider to add bulk-delete feature first, because bulk update sounds a bit more complicated to implement than bulk deletion, which should be much easier to add.
The Compass app is very useful in the prototyping stage. And when you prototype, you often add a lot of dummy data.
Just checking ✔ for such documents and delete them with one click, that will be great.
This is a key feature. Most of my colleagues are using Studio 3T due this this feature.
When I query documents, It would be good to be able to delete them all, instead of having to delete them one by one (very long if you have 100 docs for example)