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

Method select

src/dialects/abstract/query-interface.js:998–1005  ·  view source on GitHub ↗
(model, tableName, optionsArg)

Source from the content-addressed store, hash-verified

996 }
997
998 async select(model, tableName, optionsArg) {
999 const options = { ...optionsArg, type: QueryTypes.SELECT, model };
1000
1001 return await this.sequelize.query(
1002 this.queryGenerator.selectQuery(tableName, options, model),
1003 options
1004 );
1005 }
1006
1007 async increment(model, tableName, where, incrementAmountsByField, extraAttributesToBeUpdated, options) {
1008 options = Utils.cloneDeep(options);

Callers 3

testFunction · 0.80
select.test.jsFile · 0.80
findAllMethod · 0.80

Calls 2

selectQueryMethod · 0.80
queryMethod · 0.45

Tested by 1

testFunction · 0.64