<!--
{
  "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/changedKeys",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:@E@CKRecordSavePolicy@CKRecordSaveChangedKeys"
  },
  "title" : "CKModifyRecordsOperation.RecordSavePolicy.changedKeys"
}
-->

# CKModifyRecordsOperation.RecordSavePolicy.changedKeys

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

```
case changedKeys
```

## Discussion> Important: This policy doesn’t compare record change tags. To only save changes to the most recent version of a record, use ``doc://com.apple.cloudkit/documentation/CloudKit/CKModifyRecordsOperation/RecordSavePolicy/ifServerRecordUnchanged`` instead.

---

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)