Interface MongooseBulkUpdatePerOperationOptions

interface MongooseBulkUpdatePerOperationOptions {
    overwriteImmutable?: boolean;
    setDefaultsOnInsert?: boolean;
    skipValidation?: boolean;
    timestamps?: boolean;
}

Hierarchy (view full)

Properties

overwriteImmutable?: boolean

When true, allows updating fields that are marked as immutable in the schema.

setDefaultsOnInsert?: boolean

When false, do not set default values on insert.

skipValidation?: boolean

Skip validation for this operation.

timestamps?: boolean

When false, do not add timestamps. When true, overrides the timestamps option set in the bulkWrite options.