🔥 Laravel Tip: Eloquent Subquery ordering
Mar 23, 2022
Did you know you can sort a query using a subquery?
For example, we can sort the destinations based on when the last flight arrived at that destination.
For example, we can sort the destinations based on when the last flight arrived at that destination.
![tip-image-0](https://res.cloudinary.com/dpmeu3otn/image/upload/v1666552244/tips/rvkgnmiiw0fhbakhnpko.jpg)
Other tips:
🔥 Laravel Tip: Channing Jobs
Apr 12, 2022
🔥 Laravel Tip: Update or create
May 1, 2022
🔥 Laravel tip: The Elvis operator.
Jan 29, 2022