select max id laravel

53

select max id laravel -

 \DB::table('orders')->where('id', \DB::raw("(select max(`id`) from orders)"))->get();

Comments

Submit
0 Comments