Hello
Please can somebody help me with an ideea how can I make in laravel complex join with join in join. Somethig like this
Model::join(users
, function($x){
$x->on(table.id
,=
,users.id_table
);
$x->join(second_table
,function($y){
$y->on(second_table.id
,=
,user.id_secpndtable
);
});
});
Thanks for all
It`s not working if I use join inside function. Inside function can I use only condition not relation sintax. Thank you
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community