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://www.mongodb.com/docs/manual/reference/read-concern/index.html

Hierarchy

  • ReadConcern

Index

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