I'm planning a database and I'm considering mongoDB.
My main use would be to cross reference documents in the same collection.
The problem is that I didn't find any simple way to do it except for mapreduce.
Is there any simple way to do it?
For example, I have documents which represent countries and each country contains an array of cities, and I would like to get a list of all countries which have cities with the same name in them. Is it possible in a simple way in mongo (or any other noSQL db) or should I use sql?
Thanks!