laravel many to many relation update

35

$user->roles()->sync([1, 2, 3]);

Comments

Submit
0 Comments