Interface ClientSessionOptions

Hierarchy

  • ClientSessionOptions

Properties

causalConsistency?: boolean

Whether causal consistency should be enabled on this session是否应在此会话上启用因果一致性

defaultTransactionOptions?: TransactionOptions

The default TransactionOptions to use for transactions started on this session.用于此会话上启动的事务的默认TransactionOptions

snapshot?: boolean

Whether all read operations should be read from the same snapshot for this session (NOTE: not compatible with causalConsistency=true)是否应从此会话的同一快照读取所有读取操作(注意:与causalConsistency=true不兼容)

Generated using TypeDoc