Support the ongoing development of Laravel.io →

g1ntas

Joined 31 Aug 2014

Statistics

Threads 1
Replies 1
Solutions 1
Articles 0

Order by another table's rows count

I have 2 tables links and likes (with relation: links.id = likes.link_id) and I need to build query...

0 Likes
1 Replies
Solved
replied 10 years ago

Order by another table's rows count

Ok, I found solution using groupBy, of course now I can't use ->paginate, but I can make it manua...

0 Likes
Solved

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.