简体   繁体   English

如何在Lithium中查看查询文本?

[英]How to see the text of the query in Lithium?

This makes me rage from time of cakePHP. 这使我从CakePHP时代起就大发雷霆。 How to see the executed SQL query on Model::find()? 如何查看在Model :: find()上执行的SQL查询?

This has already been answered here: Lithium: Can we see queries executed as shown in CakePHP . 这已经在这里得到解答: 锂:我们可以看到执行的查询如CakePHP所示

It's also mentioned in the Applying Filters: Logging section of the docs. 在文档的“ 应用过滤器:日志记录”部分中也提到了这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM