select max id laravel

56

select max id laravel -

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

Comments

Submit
0 Comments