API 参考
    正在准备搜索索引...

    The MongoDB ReadConcern, which allows for control of the consistency and isolation properties of the data read from replica sets and replica set shards.

    索引

    构造函数

    • Constructs a ReadConcern from the read concern level.

      参数

      返回 ReadConcern

    属性

    level: string

    访问器

    • get AVAILABLE(): "available"

      返回 "available"

    • get LINEARIZABLE(): "linearizable"

      返回 "linearizable"

    • get MAJORITY(): "majority"

      返回 "majority"

    • get SNAPSHOT(): "snapshot"

      返回 "snapshot"

    方法

    • 返回 Document

    • Construct a ReadConcern given an options object.

      参数

      返回 undefined | ReadConcern