Cloud object encapsulates the results of fetching records.
- CloudKit JS 1.0+
The methods in the
Cloud class that operate on records and the
commit method in the
Cloud class return a
Promise object that resolves to a
Cloud 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
Cloud dictionary appears in the
records array. If an individual operation is unsuccessful, a corresponding
Cloud appears in the errors array.