Contents

CloudKit.RecordsResponse

A Cloudkit.recordsresponse object encapsulates the results of fetching records.

Declaration

interface CloudKit.RecordsResponse

Overview

The methods in the CloudKit.Database class that operate on records and the commit method in the CloudKit.RecordsBatchBuilder class return a Promise object that resolves to a CloudKit.RecordsResponse object if the operation is successful. You should not create instances of this class directly.

Errors can occur for individual operations although the overall method may succeed. If an individual operation is successful, a corresponding CloudKit.Record dictionary appears in the records array. If an individual operation is unsuccessful, a corresponding CKError appears in the errors array.

For examples using the CloudKit.Database methods that resolve to a CloudKit.RecordsResponse object, see the saveRecord and fetchRecord methods in CloudKit.Database.

Topics

Getting Records

Identifying the Class

Logging

See Also

Classes