Interface GenericDeleteOneOptions

Represents the options for some generic deleteOne command.

Field

sort - The sort order to pick which document to delete if the filter selects multiple documents.

Field

timeout - The timeout override for this method

interface GenericDeleteOneOptions {
    sort?: Sort;
    timeout?: number | Pick<Partial<TimeoutDescriptor>, "requestTimeoutMs" | "generalMethodTimeoutMs">;
}

Hierarchy (view full)

  • WithTimeout<"generalMethodTimeoutMs">
    • GenericDeleteOneOptions

Properties

Properties

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

The method timeout override.

See TimeoutDescriptor for much more information.