fetchRecordZones
Fetches one or more zones.
Declaration
Promise< CloudKit.RecordZonesResponse, CloudKit.CKError > fetchRecordZones(
CloudKit.ZoneID|CloudKit.ZoneID[]|String|String[] zones
);Parameters
- zones:
Possible values are:
Type
Description
A zone in the database to fetch.
CloudKit.ZoneID[]An array of zones to fetch.
StringThe name of a zone to fetch.
String[]An array of names of zones to fetch.
Return Value
A Promise object that resolves to a CloudKit.RecordZonesResponse object if the operation succeeds; otherwise, a CKError object.
Discussion
See Fetching Zones by Identifier (zones/lookup) in CloudKit Web Services Reference.