Packages

p

uk.gov.hmrc.mongo

transaction

package transaction

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class TransactionConfiguration(clientSessionOptions: Option[ClientSessionOptions] = None, transactionOptions: Option[TransactionOptions] = None) extends Product with Serializable
  2. trait Transactions extends AnyRef

    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)

Value Members

  1. object TransactionConfiguration extends Serializable

Ungrouped