ali-sdk/ali-rds

如何查看生成的sql语句

Closed this issue · 0 comments

let list = await this.ctx.app.mysql.select('article',{
      where:{title:`%${title}%`},
      limit:count,
      offset:(p-1)*count
    });

如何查看生成的sql语句,用的是egg