laravel collection groupby multiple columns 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();