-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
Description
用于将实际执行的 SQL 暴露出来
用法:
const db = new RDSClient({
host: 'your-rds-address.mysql.rds.aliyuncs.com',
// ...
logging: (sql) => {
console.log('sql -->', sql);
},
});在这里调用一把 logging 传进来的方法:
https://github.com/ali-sdk/ali-rds/blob/master/src/operator.ts#L82
@fengmk2 看看这样如何?可以的话我来实现一下
Reactions are currently unavailable