Enumeration

CKReferenceAction

Constants indicating the behavior when a referenced record is deleted.

Declaration

typedef enum CKReferenceAction : NSUInteger {
    ...
} CKReferenceAction;

Topics

Constants

CKReferenceActionNone

No action when a referenced record is deleted. Deleting a parent record does not delete the children that refer to that parent. The CKReference object still contains the ID of the deleted record and is not updated automatically.

CKReferenceActionDeleteSelf

The delete action for referenced records. Deleting a record also deletes any records containing CKReference objects that point to that record. The deletion of the additional records may trigger a cascade deletion of more records. The deletions are asynchronous in the default zone and immediate in a custom zone.