Interface DropCollectionOptions

Options for dropping a collection.

Field

namespace - Overrides the namespace for the collection.

Field

maxTimeMS - The maximum time to allow the operation to run.

See

Db.dropCollection

interface DropCollectionOptions {
    maxTimeMS?: number;
    namespace?: string;
}

Hierarchy (view full)

Properties

maxTimeMS?: number

The maximum time to wait for a response from the server, in milliseconds.

namespace?: string

The namespace (aka keyspace) to use for the db operation.