Support the ongoing development of Laravel.io →
cotherman

cotherman

Joined 25 Apr 2017

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

->count() and ->get()->last()

I have, $a = App\SomeModel::where('id', 1)->get()->last(); My model's table has 72 entries. $a...

Likes Replies
Solved

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.