The reactivemongo.api.MongoConnection that will be used to query this database.
A failover strategy for sending requests.
This database name.
Gets a reactivemongo.api.Collection from this database (alias for the collection
method).
Gets 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.
Gets a reactivemongo.api.Collection from this database.
Gets 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.
(dB: StringAdd).self
(dB: StringFormat).self
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
Returns the database of the given name on the same MongoConnection.
Returns the database of the given name on the same MongoConnection.
(Since version 0.10) Consider using sibling
instead
(dB: ArrowAssoc[DB]).x
(Since version 2.10.0) Use leftOfArrow
instead
(dB: Ensuring[DB]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
A Mongo Database.
Example: