laravel order by desc

31

laravel order by raw -

$orders = DB::table('orders')
                ->orderByRaw('updated_at - created_at DESC')
                ->get();

Comments

Submit
0 Comments