Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKModifyRecordsOperationMBS class.

CKModifyRecordsOperationMBS.SaveAllKeys = 2

Type Topic Plugin Version
const CloudKit MBS Mac64bit Plugin 16.5
One of the constants indicating the policy to apply when saving records.

A policy that saves all keys of the record (including those that have not changed) to the server, overwriting any values currently on the server. Keys present only on the server remain unchanged.

CKModifyRecordsOperationMBS.SaveChangedKeys = 1

Type Topic Plugin Version
const CloudKit MBS Mac64bit Plugin 16.5
One of the constants indicating the policy to apply when saving records.

A policy that saves only those fields of the record that actually changed, overwriting any values currently on the server. Unmodified fields are left untouched.

CKModifyRecordsOperationMBS.SaveIfServerRecordUnchanged = 0

Type Topic Plugin Version
const CloudKit MBS Mac64bit Plugin 16.5
One of the constants indicating the policy to apply when saving records.

A policy that saves the record only if the local copy of the record is based on the record still on the server. The server maintains a change tag for each record automatically. When you fetch a record, that change tag is included with the rest of the record’s data. If the change tag in your local record matches the change tag of the record on the server, the save operation proceeds normally. If the server record contains a newer change tag, the record is not saved and an error of type CKErrorServerRecordChanged is reported.

The items on this page are in the following plugins: MBS Mac64bit Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...