how to take last entry in database in laravel Method ONe

87

how to take last entry in database in laravel Method ONe -

$last = DB::table('items')->latest()->first();

Comments

Submit
0 Comments