Ordering database queries by relationship columns in Laravel Community 1,737 clicks
In this article we're going to explore how to order database queries by the value (column) of an Eloquent relationship.
In this article we're going to explore how to order database queries by the value (column) of an Eloquent relationship.