implicit class ScalaClientSession extends AnyRef
The implicit ClientSession with Scala helpers
- Alphabetic
- By Inheritance
- ScalaClientSession
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ScalaClientSession(clientSession: ClientSession)
- clientSession
the clientSession
Value Members
-
def
abortTransaction(): SingleObservable[Completed]
Abort a transaction in the context of this session.
Abort a transaction in the context of this session.
A transaction can only be aborted if one has first been started.
-
def
commitTransaction(): SingleObservable[Completed]
Commit a transaction in the context of this session.
Commit a transaction in the context of this session.
A transaction can only be commmited if one has first been started.
This is the documentation for the MongoDB Scala driver.
Driver structure
The mongodb scala driver.
To get started you need a MongoClient instance, either from a connection string or via a org.mongodb.scala.MongoClientSettings.
Notable packages include: