如何让sequelize在当前请求的数组变量中运行所有查询并在输出中打印(例如,在res.json(req.querys)之后,所有查询命令都推送到req.querys
var sequelize = new Sequelize('database', 'username', 'password', {
logging: function (str) {
// instead console.log(str) how to push str to req.queries current request
}
});
暂无答案!
目前还没有任何答案,快来回答吧!