How to not load intermediate model data in deep relationship? #48940
-
I have customers table containing business_id now in my controller code I was loading all care_managers available for customer
Is it possible to not show or send business data? |
Beta Was this translation helpful? Give feedback.
Answered by
chuckrincon
Nov 8, 2023
Replies: 1 comment
-
You could use the Has One Through or Has Many Through to achieve this. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
yogeshgalav
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could use the Has One Through or Has Many Through to achieve this.