Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么输出执行的SQL语句呢? #31

Open
zuoye520 opened this issue Aug 14, 2017 · 4 comments
Open

怎么输出执行的SQL语句呢? #31

zuoye520 opened this issue Aug 14, 2017 · 4 comments

Comments

@zuoye520
Copy link

作者你好!
不知道有没有提供方法输出当前执行的sql语句,方便日志调试。

@huchenghua
Copy link

如何打印sql呢?

@fengmk2
Copy link
Member

fengmk2 commented Dec 25, 2017

https://github.com/ali-sdk/ali-rds/blob/master/lib/operator.js#L52

目前没有暴露出来,可以考虑加个 query 事件,将 sql 通过事件暴露出来。

@roc2539
Copy link

roc2539 commented May 8, 2018

事件?

@zhangzhenliang
Copy link

把表名故意写错,sql在错误中出来。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants