Is there a helper to get related browsers from the model #1920
michaeljcoyne
started this conversation in
General
Replies: 1 comment
-
Hey @michaeljcoyne you could use with('relatedItems') or make your own getter if you need only a specific one. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi is there a helper to get the related browser from the model to save looking it up (n+1) per item?
So insted of
$speaker->getRelated('featuredEvent');
Something like this
Please advise.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions