Sequelize.query ("select * from..".
this is the native framework custom query method
ask how to execute the query in egg-sequelize.
Sequelize.query ("select * from..".
this is the native framework custom query method
ask how to execute the query in egg-sequelize.
this.app.model.query ('select * from account', {type:'SELECT'}
if you don't want to query with SQL statements, just use sequelizejs's Querying. Egg-sequelize just encapsulates sequelizejs as a plug-in to the egg framework, so you can refer to how to use it.
await this.app.model.query ('select * from account', {type:'SELECT'}
Previous: There is no error in installing node, under linux, but it still prompts that it is not installed.
Next: When developing Laravel packages, can you use other Laravel packages in one Laravel package?
console.log print: Missing where attribute in the options parameter what s the problem? model user.js module.exports = app => { const { STRING, INTEGER, DATE, BOOLEAN } = app.Sequelize; return app.mo...