Clear the HashMap.
Calls close on each MongoClient instance and clears the HashMap.
Define a MongoClient db using a MongoClient instance.
Get a DB reference
Remove a specific ConnectionIdentifier from the HashMap.
Executes function f with the mongo named name.
Executes function f with the mongo named name.
Uses the default ConnectionIdentifier
Executes function f with the mongo db named name.
Executes function f with the mongo db named name.
Same as above except uses DefaultConnectionIdentifier
Executes function f with the mongo named name and
collection names collectionName.
Executes function f with the mongo named name and
collection names collectionName. Gets a collection for you.
Main Mongo object