Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReadConcern

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

see

https://docs.mongodb.com/manual/reference/read-concern/index.html

Hierarchy层级

  • ReadConcern

Index索引

Constructors构造函数

Properties属性

Accessors访问器

Methods方法

Constructors构造函数

constructor

Properties属性

level

level: string

Accessors访问器

Static AVAILABLE

  • get AVAILABLE(): "available"

Static LINEARIZABLE

  • get LINEARIZABLE(): "linearizable"

Static MAJORITY

  • get MAJORITY(): "majority"

Static SNAPSHOT

  • get SNAPSHOT(): "snapshot"

Methods方法

toJSON

Static fromOptions

Generated using TypeDoc