The abstract parent class for operations that act on databases in CloudKit.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Cloud
Kit
Declaration
class CKDatabaseOperation : CKOperation
Overview
Database operations typically involve fetching and saving records and other database objects, as well as queries on the contents of the database. You use the property of this class to tell the operation object which database to use when executing its task. Do not subclass this class or create instances of it. Instead, create instances of one of its concrete subclasses.