如题,怎么获取finereport后台执行的sql语句?不是查看日志,是在按钮上通过js或者其他方式获取后台执行的sql
添加logdb的数据连接,查询fine_record_execute表
新建报表,数据查询:select time,sql from fine_record_execute order by time
fine_record_execute表的字段参考文档:报表日志 LogDB 数据库-https://help.fanruan.com/finereport/doc-view-891.html 2.3.1 fine_record_execute
把日志级别设置为debug
https://help.fanruan.com/finereport/doc-view-991.html?source=1
日志里面
不知道你要哪里用。。
管理员用的话有一个插件
https://help.fanruan.com/finereport/doc-view-3488.html?source=1