How to GROUP BY multiple column in Laravel? I tried this code:
GROUP BY
$routes = DB::table(\'route\') ->groupBy(\'rte_origin\') ->groupBy(
Edit your applications's database config file config/database.php
config/database.php
In mysql array, set strict => false to disable MySQL's strict mode to make this work.
strict => false