laravel-data-sync
laravel-data-sync copied to clipboard
Add support for pivot tables with sync()?
">roles": {
"slug": "edit-orders"
}
would execute...
->roles()->sync(Role::where('slug', 'edit-orders')->first());