---
title: fetchRecordZoneChanges
framework: CloudKit JS
role: symbol
role_heading: Instance Method
platforms: [cloudkit js 1.0+]
path: cloudkitjs/cloudkit.database/fetchrecordzonechanges
---

# fetchRecordZoneChanges

Fetch changes to the specified record zones in the database.

## Declaration

```data
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 doc://com.apple.cloudkitjs/documentation/CloudKitJS/CloudKit.RecordZoneChangesOptions dictionary for each zone.

## Return Value

Return Value A Promise object that resolves to a CloudKit.RecordZoneChangesResponse object, or rejects to a CKError object.

## Discussion

Discussion Use the fetchDatabaseChanges method to get the zones that contain changed records.

## See Also

### Fetching Changes

- [databaseScope](cloudkitjs/cloudkit.database/databasescope.md)
- [fetchDatabaseChanges](cloudkitjs/cloudkit.database/fetchdatabasechanges.md)
