How to execute update ($set) queries in MongoDB Compass tool?

In the latest version, there is a “_MongoSH” in the bottom left corner of the window.
Thx to @Boštjan Pišler for the hint about a new feature.

Old answer:
I had the same issue, it looks like a simple feature to implement (since document updates are possible) but… AFAIK there is no such option in compass, you can do it through mongodb shell (CLI client).

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)