mongodb (robomongo) different database's connection query

Ok I'm looking for a best way to move around 2 databases within robomongo.

For example I'm filtering one database on some criterium db.getCollection('test').find({status: "NEW"}) I'm getting a list of those records

Now I'm getting list of unique parameters of those records (some do have this parameter some don't e.g. seconddatabaseid) - I can see them in table view of my query. And now I'd like to make a new query (list query) to another database with another condition to those records but on different database.

I'm kind of fresh in playing with robomongo I don't know if it's doable from program or should I start playing with some scripts? I'm looking for a best way to move around two databases which are kind of connected.

Answers


Robomongo is a shell-centric tool, which means you can do almost everything you can do in a standard mongo shell. I believe this answers the question how to make cross-db queries.


Need Your Help

Yeoman looping in template

javascript typescript yeoman yeoman-generator

I'm trying to use yeoman to take this JSON file:

How do I subgroup a group in linq?

linq linq-to-objects

I'm trying to subgroup a group using linq. This is proving to be more difficult than I thought. So far I took a quick and dirty approach but it's not as efficient as I would like. Can these two l...