An operation that fetches changes to the database.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Cloud
Kit
Declaration
@interface CKFetchDatabaseChangesOperation : CKDatabase Operation
An operation that fetches changes to the database.
SDKs
Framework
@interface CKFetchDatabaseChangesOperation : CKDatabase Operation
- init With Previous Server Change Token:
Initializes and returns an operation object configured with the previous change token.
change Token Updated Block
The block to execute when the change token has changed.
fetch Database Changes Completion Block
The block to execute when the operation completes.
record Zone With IDChanged Block
The block that processes a single record zone change.
record Zone With IDWas Deleted Block
The block that processes a single record zone deletion.
record Zone With IDWas Purged Block
The block that processes a single record zone purge.
fetch All Changes
Configuration setting to control whether this operation makes repeated calls to the server.
previous Server Change Token
The change token from a previous fetch operation.
results Limit
The maximum number of results to fetch with this operation.