uk.gov.hmrc.mongo.transaction

Members list

Type members

Classlikes

case class TransactionConfiguration(clientSessionOptions: Option[ClientSessionOptions], transactionOptions: Option[TransactionOptions])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class 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 Object
trait Matchable
class Any