WriteConcernSettings | mongodb (original) (raw)

Interface WriteConcernSettings

interface WriteConcernSettings {
fsync?: boolean | 1;
j?: boolean;
journal?: boolean;
w?: W;
wtimeout?: number;
wtimeoutMS?: number;
}

Index

Properties

Optionalfsync

fsync?: boolean | 1

The file sync write concern.

Optionalj

j?: boolean

The journal write concern.

Optionaljournal

journal?: boolean

The journal write concern

Optionalw

w?: W

The write concern

Optionalwtimeout

wtimeout?: number

The write concern timeout.

OptionalwtimeoutMS

wtimeoutMS?: number

The write concern timeout.