Рет қаралды 134,480
If you work with a project that has multiple levels of hasMany relationships, you can use hasManyThrough instead, or one of a few packages I will show in this video.
Official docs on HasManyThrough: laravel.com/docs/8.x/eloquent...
Packages by Jonas Staudenmeir: github.com/staudenmeir
My course "Eloquent: Expert Level": laraveldaily.com/course/eloqu...
My course "Better Eloquent Performance": laraveldaily.com/course/eloqu...
- - - - -
Support the channel by checking out my products:
- My Laravel courses: laraveldaily.com/courses?mtm_...
- Laravel QuickAdminPanel: quickadminpanel.com
- Livewire Kit Components: livewirekit.com
- - - - -
Other places to follow:
- My weekly Laravel newsletter: us11.campaign-archive.com/hom...
- My personal Twitter: / povilaskorop