MCPcopy
hub / github.com/sequelize/sequelize / dropTableQuery

Method dropTableQuery

src/dialects/abstract/query-generator.js:112–114  ·  view source on GitHub ↗
(tableName)

Source from the content-addressed store, hash-verified

110 }
111
112 dropTableQuery(tableName) {
113 return `DROP TABLE IF EXISTS ${this.quoteTable(tableName)};`;
114 }
115
116 renameTableQuery(before, after) {
117 return `ALTER TABLE ${this.quoteTable(before)} RENAME TO ${this.quoteTable(after)};`;

Callers 2

dropSchemaMethod · 0.95
dropTableMethod · 0.45

Calls 1

quoteTableMethod · 0.95

Tested by

no test coverage detected