Interface ClientSessionOptions

Hierarchy

  • ClientSessionOptions

Properties

causalConsistency?: boolean

Whether causal consistency should be enabled on this session

defaultTransactionOptions?: mongoose.mongo.TransactionOptions

The default TransactionOptions to use for transactions started on this session.

snapshot?: boolean

Whether all read operations should be read from the same snapshot for this session (NOTE: not compatible with causalConsistency=true)

Generated using TypeDoc