Answer the question
In order to leave comments, you need to log in
How to take the minimum price from the last 100 rows?
How to take the minimum price from the last 100 rows? It is desirable to do with the help of Eloquent.
Wanted to do something like:
orderByDesc('id')->limit(100)->orderBy('price', 'asc')->first()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question