How do I update the multiple field type programmatically?

daviesgeek - 5 months ago

I have a multiple field type that contains a collection of users. I'm trying to add to the collection programmatically, but can't seem to get the field to actually update. How do I do that?

ryanthompson - 5 months ago

The relational field types provide native Eloquent relations so you can use their native methods. I believe attach and sync are a couple of the methods.