Options to pass to Model on drop

interface DropOptions {
    benchmark?: boolean;
    cascade?: boolean;
    logging?: false | (sql: string, timing?: number) => void;
}

Hierarchy (View Summary)

Properties

benchmark?: boolean

Pass query execution time in milliseconds as second argument to logging function (options.logging).

cascade?: boolean

Also drop all objects depending on this table, such as views. Only works in postgres

logging?: false | (sql: string, timing?: number) => void

A function that gets executed while running the query to log the sql.