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

I'm new to MongoDB Compass tool and am trying to update a field in my collection. Please can someone suggest where the update query must be written. Could find no options or panes in the tool to write custom queries be it selection / updation for that matter.
In the Default Window only the selection/projection/restriction options are found.
Any help is much appreciated.

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).

The tool was recently updated with a shell (currently in beta) which is accessible by clicking the dark bar on the bottom of the window "_MongoSH"

At the bottom left, _MONGOSH:
There you can call updateMany and any other methods available in the MongoSH syntax

You can use mongo MongoSH. Currently its in Beta.

Just move your mouse over a document and find a little pencil. You will enter in update mode. You can change fields, values, arrays, etc.

Related

search for an object in pgadmin 4

maybe it's a silly question but in the "ancient" pgadmin 3 there was a tool to search for an object (table, column, trigger function...) based of some pattern. I can't find such tools in pgadmin 4 (I just installed the latest release 4.8) This makes me waste a lot of time. where is it? Is there another way to search or some workaround? thanks in advance! Jacopo.
as documented here, there is such functionality in pgadmin4, you can find it by right-clicking a database inside a server as shown here:

MongoDB GUI Suggestions (MongoHub and RoboMongo)

I am a beginner to MongoDB. Using Mongo version 3.2.6. I usually use the mongo terminal from the shell. To get a deeper understanding visually I tried using a GUI but I am finding no luck in it. Initially I tried using RoboMongo, the issue is even though I get connected at 127.0.0.1:27017 I am not able to view the collection items. I also have authentication issues with both RoboMongo and MongoHub. Please suggest the best GUI for learning MongoDB
Thanks in advance
# user3632894 Thank you so much. Using the robomongo-0.9.0-rc8 fixed my problem.

pgAdminIII Bug on Query Tool

Hi I have the following bug on pgAdminIII:
If I open the SQL Query tool page none of the buttons are visible and only if I go over the upper line some of them become visible. But I can't write or execute any query.
I tried to uninstall it and reinstall it many times also with other version but the same thing happens all the time.
Did anyone experience the same problem?
Yes it is a bug. Try the View -> 'Default View' in the Query window as an alternative way. Also update pgadmin and check.

Is there a way to run arbitrary command in MongoVUE

I was looking for a way to execute an arbitrary command in MongoVUE: db.collection.runCommand(..), but was not able to find anything.
I am using the latest (at the time of asking) version 1.6.1.0. There is nothing in the context menu as well as in the main menu:
Is there a way to achieve it? If no, are there any other suitable guis for desktop (not web-based).
P.S. I know how to perform this in mongo-shell
I've run into the same limitation with the .distinct() command. It is not currently possible in MongoVUE to do anything aside from .find/.aggregate/.mapreduce. You're best off running commands out of the Mongo Shell.

How come when I push "up" on MongoDB's console, it doesn't cycle through my previous command?

Instead, it displays this:
^[[A^[[A
update to mongo 1.6+
http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages
(via http://groups.google.com/group/mongodb-user/browse_thread/thread/8611c444fdfe2fe0?pli=1)
It will be better if you post this question on MongoDb's mailing list with little more explanation that after which command you face this problem because this is not the normal behavior.
Here is a link that may be of some use, though I have not yet gotten it to work:
http://www.mongodbadmin.com/node/149
This seems to assume you are installing mongo from source.
You don't have readline installed, so the mongo shell falls back to a simple mode without history navigation using the arrow keys.