The reactivemongo.api.MongoConnection that will be used to query this database.
The reactivemongo.api.MongoConnection that will be used to query this database.
Ends the session associated with this database reference, if any otherwise does nothing (since MongoDB 3.
Ends the session associated with this database reference, if any otherwise does nothing (since MongoDB 3.6).
EXPERIMENTAL: API may change without notice.
A failover strategy for sending requests.
Kills the session (abort) associated with this database reference, if any otherwise does nothing (since MongoDB 3.
Kills the session (abort) associated with this database reference, if any otherwise does nothing (since MongoDB 3.6).
EXPERIMENTAL: API may change without notice.
This database name.
Starts a new session, does nothing if a session has already being started (since MongoDB 3.
Starts a new session, does nothing if a session has already being started (since MongoDB 3.6).
EXPERIMENTAL: API may change without notice.
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 resolve
the failover strategy to override the default one
Authenticates the connection on this database.
Authenticates the connection on this database.
the name of the user
the user password
Returns a reactivemongo.api.Collection from this database.
Returns a reactivemongo.api.Collection from this database.
the name of the collection to resolve
the failover strategy to override the default one
Returns the database of the given name on the same MongoConnection.
Returns the database of the given name on the same MongoConnection.
the name of the collection to resolve
the failover strategy to override the default one
(dB: StringAdd).self
(dB: StringFormat).self
Returns the database of the given name on the same MongoConnection.
(dB: ArrowAssoc[DB]).x
(Since version 2.10.0) Use leftOfArrow
instead
(dB: Ensuring[DB]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
The reference to a MongoDB database, obtained from a reactivemongo.api.MongoConnection.
You should consider the provided reactivemongo.api.DefaultDB implementation.