MCPcopy
hub / github.com/sequelize/sequelize / select

Method select

lib/dialects/abstract/query-interface.js:975–982  ·  lib/dialects/abstract/query-interface.js::QueryInterface.select
(model, tableName, optionsArg)

Source from the content-addressed store, hash-verified

973 }
974
975 async select(model, tableName, optionsArg) {
976 const options = { ...optionsArg, type: QueryTypes.SELECT, model };
977
978 return await this.sequelize.query(
979 this.queryGenerator.selectQuery(tableName, options, model),
980 options
981 );
982 }
983
984 async increment(model, tableName, where, incrementAmountsByField, extraAttributesToBeUpdated, options) {
985 options = Utils.cloneDeep(options);

Callers 2

testFunction · 0.80
findAllMethod · 0.80

Calls 2

selectQueryMethod · 0.80
queryMethod · 0.45

Tested by 1

testFunction · 0.64