laravel db query with order code example
Example: laravel order by raw
$orders = DB::table('orders')
->orderByRaw('updated_at - created_at DESC')
->get();
$orders = DB::table('orders')
->orderByRaw('updated_at - created_at DESC')
->get();