Support the ongoing development of Laravel.io →

sebastienmaupate

Joined 8 Mar 2015

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

Bidirectional eager loading on L5 with 3 models

I already typed my issue here if you prefer, with the important bit of each classes I have 3 models...

0 Likes
1 Replies
replied 8 years ago

Bidirectional eager loading on L5 with 3 models

I ended up using this code. Still feels dirty, but it does the job: $regions = Region::order...

0 Likes

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.