📜  打印最后一个 sql 查询 laravel - PHP 代码示例

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

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

// Your Eloquent query executed by using get()

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