---
title: recordZonesToSave
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckmodifyrecordzonesoperation/recordzonestosave
---

# recordZonesToSave

The record zones to save to the database.

## Declaration

```swift
var recordZonesToSave: [CKRecordZone]? { get set }
```

## Discussion

Discussion The initial value of the property is the array that you provide to the init(recordZonesToSave:recordZoneIDsToDelete:) method. You can modify this array as necessary before you execute the operation. The record zones must all target the same database. You can specify nil, or an empty array, for this property. If you intend to change the value of this property, do so before you execute the operation or submit the operation to a queue.

## See Also

### Configuring the Modify Zones Operation

- [recordZoneIDsToDelete](cloudkit/ckmodifyrecordzonesoperation/recordzoneidstodelete.md)
