JavaScript constructor to instantiate a database connection from the mongo shell or from a JavaScript file.
Optional. Either in the form of <host> or <host>:<port>.
Use the constructor without a parameter to instantiate a connection to the localhost interface on the default port.
也可以参考
Mongo.getDB()