Support the ongoing development of Laravel.io →
posted 5 years ago

I have three dependent tables, and I want to know, how I can get the dependency in table 3 from table 1 with eloquent? https://ibb.co/bg5d5Zt

Last updated 3 years ago.
0

may be you can try with Has Many Through ,for more info visit https://laravel.com/docs/7.x/eloquent-relationships#introduction

0

Sign in to participate in this thread!

Eventy

Your banner here too?

andy doko1975 Joined 5 Mar 2020

Moderators

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.

© 2025 Laravel.io - All rights reserved.