Class

CKDatabaseOperation

The abstract parent class for operations that act on databases in CloudKit.

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.

Topics

Accessing the Database

var database: CKDatabase?

The database that is the target of the operation.

Relationships

Inherits From

Conforms To

See Also

Base Classes

class CKOperation

The abstract base class for all operations that can be executed against a CloudKit database.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software