Package | Description |
---|---|
com.mongodb |
Main package with core files.
|
Modifier and Type | Method and Description |
---|---|
DBAddress |
DBAddress.getSister(String name)
Creates a DBAddress pointing to a different database on the same server.
|
Modifier and Type | Method and Description |
---|---|
static DB |
Mongo.connect(DBAddress addr)
Deprecated.
Please use
Mongo.getDB(String) instead. |
Constructor and Description |
---|
DBAddress(DBAddress other,
String dbname)
Create a DBAddress using the host and port from an existing DBAddress, and connected to a given database.
|