Use the updateExistingPivot() method to make changes to pivot columns on existing records
- ·
- Telegram
- ·
- Newsletter
💡If you have a many-to-many relationship with a pivot table and extra columns, you can use the updateExistingPivot to update the extra column's value.
In this example, I need to update the status of a given subscriber: