[英]How can i debug the query building my table
I'm using jQuery DataTables Editor with PHP library and I want to see the final query that is used to build my table. 我正在将jQuery DataTables Editor与PHP库一起使用 ,我想查看用于构建表的最终查询。 I looked in the following files:
我查看了以下文件:
and I saw many functions calling each other like "ping-pong" and couldn't find the way to see the final query. 而且我看到许多函数像“乒乓球”那样互相调用,却找不到查看最终查询的方法。
I want to check my joins in the query. 我想检查查询中的联接。 Where can i find it?
在哪里可以找到它?
I appreciate this is old, and is referring to Editor 1.5, but since Editor 1.6 you can simply add ->debug(true)
into the server's scripts. 我很欣赏这很旧,并且指的是编辑器1.5,但是由于编辑器1.6,您可以简单地将
->debug(true)
到服务器的脚本中。 For more information, see the release notes for 1.6 : https://editor.datatables.net/download/1.6.0 . 有关更多信息,请参见1.6的发行说明: https : //editor.datatables.net/download/1.6.0 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.