Interface DropCollectionOptions

Options for dropping a collection.

Field

keyspace - Overrides the keyspace for the collection.

Field

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

See

Db.dropCollection

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

Hierarchy (view full)

Properties

keyspace?: string

The keyspace to use for the operation.

maxTimeMS?: number

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

namespace?: string

The keyspace to use for the operation.

This is now a deprecated alias for the strictly equivalent WithKeyspace.keyspace, and will be removed in an upcoming major version.

https://docs.datastax.com/en/astra-db-serverless/api-reference/client-versions.html#version-1-5

Deprecated