montrer la requête à Laravel
Use the toSql() method on a QueryBuilder instance.
DB::table('users')->toSql()
Lokesh003
Use the toSql() method on a QueryBuilder instance.
DB::table('users')->toSql()
DB::enableQueryLog(); // Enable query log
// Your Eloquent query executed by using get()
dd(DB::getQueryLog()); // Show results of log