Tag Archives: laravel query printing

Usage of toSql() in laravel

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