multi group by in laravel code example
Example: laravel multiple group by
$routes = DB::table('route')
->groupBy('rte_origin', 'rte_destination')
->get();
$routes = DB::table('route')
->groupBy('rte_origin', 'rte_destination')
->get();