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

能否新增一种debug模式为输出可执行sql语句 #484

Closed
iscraft opened this issue Oct 21, 2016 · 1 comment
Closed

能否新增一种debug模式为输出可执行sql语句 #484

iscraft opened this issue Oct 21, 2016 · 1 comment

Comments

@iscraft
Copy link

iscraft commented Oct 21, 2016

这样在调试时输出sql语句到屏幕上
复制后粘贴到sql管理器比如phpmyadmin中可以直接运行查看结果 很方便
目前debug().log()以及last_query()方式都需要手动替换字段的双引号为`号或者删除 才能执行

@catfan
Copy link
Owner

catfan commented Oct 24, 2016

Please use English to discuss the issue here.

@catfan catfan closed this as completed Oct 24, 2016
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

2 participants