MCPcopy
hub / github.com/sequelize/sequelize / removeColumn

Method removeColumn

lib/dialects/abstract/query-interface.js:418–420  ·  lib/dialects/abstract/query-interface.js::QueryInterface.removeColumn

* Remove a column from a table * * @param {string} tableName Table to remove column from * @param {string} attributeName Column name to remove * @param {object} [options] Query options

(tableName, attributeName, options)

Source from the content-addressed store, hash-verified

416 * @param {object} [options] Query options
417 */
418 async removeColumn(tableName, attributeName, options) {
419 return this.sequelize.query(this.queryGenerator.removeColumnQuery(tableName, attributeName), options);
420 }
421
422 normalizeAttribute(dataTypeOrOptions) {
423 let attribute;

Callers 5

testFunction · 0.45
syncMethod · 0.45
dropEnum.test.jsFile · 0.45

Calls 2

queryMethod · 0.45
removeColumnQueryMethod · 0.45

Tested by 1

testFunction · 0.36