package transaction
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class TransactionConfiguration(clientSessionOptions: Option[ClientSessionOptions] = None, transactionOptions: Option[TransactionOptions] = None) extends Product with Serializable
- trait Transactions extends AnyRef
Effectively provides the behaviour not available on
org.mongodb.scala.ClientSession(driver-scala, norcom.mongodb.reactivestreams.client.ClientSessiondriver-reactive-streams) but is available oncom.mongodb.client.ClientSession(driver-core).Effectively provides the behaviour not available on
org.mongodb.scala.ClientSession(driver-scala, norcom.mongodb.reactivestreams.client.ClientSessiondriver-reactive-streams) but is available oncom.mongodb.client.ClientSession(driver-core).It is recommended to use the Future variant (i.e. add
.toFutureto all db calls), since the Observable variant has some surprises. E.g.- some commands return
Observable[Void]which will ignore any following map/flatMap (e.g. for-comprehension steps)
- some commands return
Value Members
- object TransactionConfiguration extends Serializable