WebLinuxStudy

导航

 

2021年6月9日

摘要: laravel打印完整SQL语句 用DB自带的getQueryLog方法直接打印: //开启QueryLogDB::connection()->enableQueryLog(); \App\User::find(1); dump(DB::getQueryLog()); 阅读全文
posted @ 2021-06-09 17:46 WebLinuxStudy 阅读(87) 评论(0) 推荐(0)