Get a document in MongoDB without specifying collection
Yes, but not in a scalable way (since you must query each collection). If you have 2 or 3 collections, this might be ok, but… you probably should review your design to figure out why you’re doing this. Why are you, by the way? You get a list of all of the collections in the … Read more