Interface WriteConcernSettings

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

Properties

fsync?: boolean | 1

The file sync write concern.

Will be removed in the next major version. Please use the journal option.

j?: boolean

The journal write concern.

Will be removed in the next major version. Please use the journal option.

journal?: boolean

The journal write concern

w?: W

The write concern

wtimeout?: number

The write concern timeout.

wtimeoutMS?: number

The write concern timeout.