Initializes and returns an operation object configured to save and delete the specified records.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
An initialized operation object.
The records you intend to save or delete must all reside in the same database, which you can specify when you configure the operation object. Saving a record that is not in the current database creates it in the database. Trying to delete a record that does not exist in the current database returns an error for that record.