Hey, my book is finally available. Find it here.  Eloquent Beyond The Basics!

🔥 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.
tip-image-0