Skip to main content

New Since Laravel 8.x: LatestOfMany

Premium
2:10

The Full Lesson is Only for Premium Members

Want to access all of our courses? (36 h 00 min)

You also get:

61 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Devops, Pentest, S.E.O. Growth Hacker avatar
Devops, Pentest, S.E.O. Growth Hacker

Thanks for all those cources, I have a question though, with model for companies, companytypes and hotel model, how to structure the db and relations to relate hotels with rentals companytype specific id, this id is in the loop let's say of the companytype model

Povilas Korop avatar

Sorry it's hard to answer such questions when you just give it all in one sentence, without a deeper understanding of how you would query such data.