The reactivemongo.api.MongoConnection that will be used to query this database.
A failover strategy for sending requests.
This database name.
Returns a reactivemongo.api.Collection from this database
(alias for the collection
method).
Returns a reactivemongo.api.Collection from this database
(alias for the collection
method).
the name of the collection to open
Authenticates the connection on this database.
Returns a reactivemongo.api.Collection from this database, when ready.
Returns a reactivemongo.api.Collection from this database, when ready.
the name of the collection to open
Returns a reactivemongo.api.Collection from this database.
Returns a reactivemongo.api.Collection from this database.
the name of the collection to open
Returns the database of the given name on the same MongoConnection.
Returns the database of the given name on the same MongoConnection.
Returns the database of the given name on the same MongoConnection.
Sends a command and get the future result of the command.
Sends a command and get the future result of the command.
The command to send.
The ReadPreference to use for this command (defaults to MongoConnectionOptions.readPreference).
a future containing the result of the command.
(Since version 0.11.0) Consider using reactivemongo.api.commands along with GenericDB.runCommand
methods
A Mongo Database.
You should consider the provided reactivemongo.api.DefaultDB implementation.
Example: