Interface DropTableOptions

The options for dropping a table (via Db.dropTable).

interface DropTableOptions {
    ifExists?: boolean;
    keyspace?: string;
    timeout?: number | Pick<Partial<TimeoutDescriptor>, "tableAdminTimeoutMs" | "requestTimeoutMs">;
}

Hierarchy (view full)

Properties

ifExists?: boolean

If true, no error will be thrown if the table does not exist.

Defaults to false.

keyspace?: string

The keyspace to use for the operation.

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

The method timeout override.

See TimeoutDescriptor for much more information.