laravel group by 2 column 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();