Manipulate Network Options
Manipulate Network Options
com.mongodb.Bytes
com.mongodb.Mongo
Gets the address of this database.
Gets the address of this database.
(ServerAddress) The address of the DB
Apply method which proxies getDB, allowing you to call
connInstance("dbName")
Apply method which proxies getDB, allowing you to call
connInstance("dbName")
(String) A string for the database name
MongoDB A wrapped instance of a Mongo 'DB Class.
Closes all open connections.
Closes all open connections. NOTE: This connection can't be reused after closing.
Drops the database if it exists.
Drops the database if it exists.
(String) the name of the database to drop
Gets the address of this database.
Gets the address of this database.
(ServerAddress) The address of the DB
Manipulate Network Options
Manipulate Network Options
com.mognodb.Bytes
com.mongodb.Mongo
Gets the read preference for this database.
Gets the read preference for this database. Will be used as default for
reads from any collection in this database. See the
documentation for ReadPreference
for more information.
get the write concern for this database, which is used for writes to any collection in this database.
get the write concern for this database,
which is used for writes to any collection in this database.
See the documentation for WriteConcern
for more info.
http://www.thebuzzmedia.com/mongodb-single-server-data-durability-guide/
WriteConcern
Manipulate Network Options
Manipulate Network Options
com.mognodb.Bytes
com.mongodb.Mongo
Gets the read preference for this database.
Gets the read preference for this database. Will be used as default for
reads from any collection in this database. See the
documentation for ReadPreference
for more information.
Sets the read preference for this database.
Sets the read preference for this database. Will be used as default for
reads from any collection in this database. See the
documentation for ReadPreference
for more information.
Manipulate Network Options
Manipulate Network Options
com.mongodb.Bytes
com.mongodb.Mongo
Sets the read preference for this database.
Sets the read preference for this database. Will be used as default for
reads from any collection in this database. See the
documentation for ReadPreference
for more information.
Set the write concern for this database.
Set the write concern for this database.
Will be used for writes to any collection in this database.
See the documentation for WriteConcern
for more info.
(WriteConcern) The write concern to use
http://www.thebuzzmedia.com/mongodb-single-server-data-durability-guide/
WriteConcern
get the write concern for this database, which is used for writes to any collection in this database.
get the write concern for this database,
which is used for writes to any collection in this database.
See the documentation for WriteConcern
for more info.
http://www.thebuzzmedia.com/mongodb-single-server-data-durability-guide/
WriteConcern
Set the write concern for this database.
Set the write concern for this database.
Will be used for writes to any collection in this database.
See the documentation for WriteConcern
for more info.
(WriteConcern) The write concern to use
http://www.thebuzzmedia.com/mongodb-single-server-data-durability-guide/
WriteConcern
Wrapper class for the Mongo Connection object.