uk.gov.hmrc.mongo.transaction
package uk.gov.hmrc.mongo.transaction
Members list
Type members
Classlikes
case class TransactionConfiguration(clientSessionOptions: Option[ClientSessionOptions], transactionOptions: Option[TransactionOptions])
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object TransactionConfiguration
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
trait Transactions
Effectively provides the behaviour not available on org.mongodb.scala.ClientSession (driver-scala, nor com.mongodb.reactivestreams.client.ClientSession driver-reactive-streams) but is available on com.mongodb.client.ClientSession (driver-core).
Effectively provides the behaviour not available on org.mongodb.scala.ClientSession (driver-scala, nor com.mongodb.reactivestreams.client.ClientSession driver-reactive-streams) but is available on com.mongodb.client.ClientSession (driver-core).
It is recommended to use the Future variant (i.e. add .toFuture to 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)
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
In this article