Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WriteConcern

A MongoDB WriteConcern, which describes the level of acknowledgement requested from MongoDB for write operations.

see

http://mongodb.github.io/node-mongodb-native/3.1/api/global.html#WriteConcern

Hierarchy

  • WriteConcern

Index

Properties

Properties

Optional j

j: boolean

requests acknowledgement from MongoDB that the write operation has been written to the journal

Optional w

w: number | "majority" | string

requests acknowledgement that the write operation has propagated to a specified number of mongod hosts

Optional wtimeout

wtimeout: number

a time limit, in milliseconds, for the write concern

Generated using TypeDoc