laravel collection multiple group by 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();