<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKModifyRecordsOperation/RecordSavePolicy",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:@E@CKRecordSavePolicy"
  },
  "title" : "CKModifyRecordsOperation.RecordSavePolicy"
}
-->

# CKModifyRecordsOperation.RecordSavePolicy

Constants that indicate which policy to apply when saving records.

```
enum RecordSavePolicy
```

## Topics

### Save Policies

[`CKModifyRecordsOperation.RecordSavePolicy.ifServerRecordUnchanged`](/documentation/CloudKit/CKModifyRecordsOperation/RecordSavePolicy/ifServerRecordUnchanged)

A policy that instructs CloudKit to only proceed if the record’s change tag matches that of the server’s copy.

[`CKModifyRecordsOperation.RecordSavePolicy.changedKeys`](/documentation/CloudKit/CKModifyRecordsOperation/RecordSavePolicy/changedKeys)

A policy that instructs CloudKit to save only the fields of a record that contain changes.

[`CKModifyRecordsOperation.RecordSavePolicy.allKeys`](/documentation/CloudKit/CKModifyRecordsOperation/RecordSavePolicy/allKeys)

A policy that instructs CloudKit to save all keys of a record, even those without changes.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)