Tag Archives: toSql() not working in laravel

Usage of toSql() in laravel

Remove the get() and add toSql() then it will print the query properly