Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 laravel 3 中构建一个项目,想知道如何调试 Fluent Query Builder 即。获取错误消息或生成的 SQL 以查看我做错了什么
如果您在 Laravel 3 中启用分析器,它会在页面加载后向您显示已执行的查询。您可以通过将profiler选项设置为truein来启用它application/config/application.php
profiler
true
application/config/application.php