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; |
Returns:
Promise<any>
The result of the drop statement.