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.
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 names of the collections in this database.
Returns the names of the collections in this database.
The reactivemongo.api.MongoConnection that will be used to query this database.
The reactivemongo.api.MongoConnection that will be used to query this database.
Drops this database.
Drops this database.
A failover strategy for sending requests.
Returns an index manager for this database.
Returns an index manager for this database.
This database name.
Returns the server status.
Returns the server status.
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.
(defaultDB: StringAdd).self
(defaultDB: 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
(defaultDB: ArrowAssoc[DefaultDB]).x
(Since version 2.10.0) Use leftOfArrow
instead
(defaultDB: Ensuring[DefaultDB]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
The default DB implementation, that mixes in the database traits.