📜  laravel 检查 sql 查询 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:58.130000             🧑  作者: Mango

代码示例2
DB::enableQueryLog(); // Enable query log

// Your Eloquent query executed by using get()

dd(DB::getQueryLog()); // Show results of log