---
title: fetchAllRecordZonesOperation()
framework: cloudkit
role: symbol
role_heading: Type Method
path: cloudkit/ckfetchrecordzonesoperation/fetchallrecordzonesoperation()
---

# fetchAllRecordZonesOperation()

Returns an operation for fetching all record zones in the current database.

## Declaration

```swift
class func fetchAllRecordZonesOperation() -> Self
```

## Discussion

Discussion Assign a value to the fetchRecordZonesCompletionBlock property of the operation that this method returns so that you can process the results.
