MCPcopy
hub / github.com/sequelize/sequelize / query

Method query

lib/dialects/postgres/query-generator.js:280–280  ·  lib/dialects/postgres/query-generator.js::PostgresQueryGenerator.query

Source from the content-addressed store, hash-verified

278
279 changeColumnQuery(tableName, attributes) {
280 const query = subQuery => `ALTER TABLE ${this.quoteTable(tableName)} ALTER COLUMN ${subQuery};`;
281 const sql = [];
282 for (const attributeName in attributes) {
283 let definition = this.dataTypeMapping(tableName, attributeName, attributes[attributeName]);

Callers 15

createDatabaseMethod · 0.45
dropDatabaseMethod · 0.45
createSchemaMethod · 0.45
dropSchemaMethod · 0.45
showAllSchemasMethod · 0.45
databaseVersionMethod · 0.45
createTableMethod · 0.45
dropTableMethod · 0.45
dropAllTablesMethod · 0.45
renameTableMethod · 0.45
showAllTablesMethod · 0.45
describeTableMethod · 0.45

Calls 1

quoteTableMethod · 0.80

Tested by

no test coverage detected