Constructs a ReadConcern from the read concern level.从读取关注级别构造ReadConcern。
Static
AVAILABLEStatic
LINEARIZABLEStatic
MAJORITYStatic
SNAPSHOTStatic
fromConstruct a ReadConcern given an options object.在给定选项对象的情况下构造ReadConcern。
Optional
options: { The options object from which to extract the write concern.从中提取写入关注的options对象。
Optional
level?: ReadConcernLevelOptional
readGenerated using TypeDoc
The MongoDB ReadConcern, which allows for control of the consistency and isolation properties of the data read from replica sets and replica set shards.MongoDB ReadConcern,它允许控制从副本集和副本集分片读取的数据的一致性和隔离属性。See
/v7.0/reference/read-concern/index.html