laravel update all relations

Solutions on MaxInterview for laravel update all relations by the best coders in the world

showing results for - "laravel update all relations"
Enrico
08 Oct 2020
1$position->users()->update(['position_id' => 4]);