I have 2 tables which are related with a Many to Many relation and the relation table. (users, items, users_items) I now want to do something like this: (pseudocode)
$user = User::find(1),
$user = user->ItemsHeIsNoRelatedTo();
How would i pull that off the laravel way? Do i have to write some algorithm into my user model? Or is there even a specifc eloquent way of doing this?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community