I have 2 tables links and likes (with relation: links.id = likes.link_id) and I need to build query...
Ok, I found solution using groupBy, of course now I can't use ->paginate, but I can make it manua...
The Laravel portal for problem solving, knowledge sharing and community building.
The community