<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CloudKitJS",
  "identifier" : "/documentation/CloudKitJS/CloudKit.Database/fetchRecordZoneChanges",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CloudKit JS"
    ],
    "preciseIdentifier" : "instm/CloudKit.Database/fetchRecordZoneChanges"
  },
  "title" : "fetchRecordZoneChanges"
}
-->

# fetchRecordZoneChanges

Fetch changes to the specified record zones in the database.

```
Promise<CloudKit.RecordZoneChangesResponse, CloudKit.CKError> fetchRecordZoneChanges(
	CloudKit.RecordZoneChangesOptions|CloudKit.RecordZoneChangesOptions[] options
);
```

## Parameters

`options`

Specifies the zones and what data to fetch from each. If you want to fetch from multiple zones, pass an array containing a [`CloudKit.RecordZoneChangesOptions`](/documentation/CloudKitJS/CloudKit.RecordZoneChangesOptions) dictionary for each zone.

## Return Value

A `Promise` object that resolves to a [`CloudKit.RecordZoneChangesResponse`](/documentation/CloudKitJS/CloudKit.RecordZoneChangesResponse) object, or rejects to a [`CKError`](/documentation/CloudKitJS/CloudKit/CKError) object.

## Discussion

Use the [`fetchDatabaseChanges`](/documentation/CloudKitJS/CloudKit.Database/fetchDatabaseChanges) method to get the zones that contain changed records.

---

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)