BaseModel.drop() method

Drops this model's relation: DROP VIEW for a view, DROP TABLE otherwise.

Signature:

static drop(options?: DropOptions): Promise<any>;

Parameters

Parameter

Type

Description

options

DropOptions

(Optional) Sequelize's own drop options; cascade applies to both.

Returns:

Promise<any>

The result of the drop statement.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.