I don't think you'll be able to do this (efficiently) via Eloquent. Take a look at the query that E...
Eloquent is very flexible, allowing you to configure to an existing database rather than using the E...
That's not a good way (comma separated values) to store data in the DB, as you're now discovering....
You don't have to query the data twice. Nor should you use the queries in your example. Pull everyt...
The Laravel portal for problem solving, knowledge sharing and community building.
The community