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.
Cakephp 2.0 で開発されたサイトがあり、コントローラーにクエリを実行したときに、データベースへのクエリが次のようになることを確認したいと考えています: "SELECT * FROM products;" クエリを追跡することは可能ですか?
DebugKitを使用するか、レイアウトに次を追加できます。
echo $this->element('sql_dump');