Interface GenericUpdateManyOptions

Options for some generic updateMany command * *

Field

upsert - If true, perform an insert if no documents match the filter. *

Field

timeout - The timeout override for this method * *

interface GenericUpdateManyOptions {
    timeout?: number | Pick<Partial<TimeoutDescriptor>, "requestTimeoutMs" | "generalMethodTimeoutMs">;
    upsert?: boolean;
}

Hierarchy (view full)

  • WithTimeout<"generalMethodTimeoutMs">
    • GenericUpdateManyOptions

Properties

Properties

timeout?: number | Pick<Partial<TimeoutDescriptor>, "requestTimeoutMs" | "generalMethodTimeoutMs">

The method timeout override.

See TimeoutDescriptor for much more information.

upsert?: boolean