Are you wanting to write a query that gets all images from a table and the first image as well? Wouldn't this also return the "first" image twice?
What you have works, assuming you want to get all images and sort them by the sort_column. This will give you the FIRST image first and then the rest...
Jij kan het ook in het nederlands uitleggen
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community