custom select in lucid relationships #1398
Unanswered
farshadfahimi
asked this question in
Help
Replies: 2 comments 3 replies
-
|
Hmm, |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
right know How should pass the data to model in the relation. because I'm not in the controller to create an instance and assign data to it |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a modl like below and need to append the
slugin the relation selectThe
productmodel hasslug.in my
productsMediatable I haveid,typeand I need to access theproduct.slugin the this model with select theslugin relation query. but it change my query even if I use theraw query.I'm access the media all the time with this relation so
How should I achive this?
Beta Was this translation helpful? Give feedback.
All reactions