<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKQueryNotification/Reason",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:@E@CKQueryNotificationReason"
  },
  "title" : "CKQueryNotification.Reason"
}
-->

# CKQueryNotification.Reason

Constants that indicate the event that triggers the notification.

```
enum Reason
```

## Topics

### Constants

[`CKQueryNotification.Reason.recordCreated`](/documentation/CloudKit/CKQueryNotification/Reason/recordCreated)

A notification that indicates the creation of a record matching the subscription’s predicate.

[`CKQueryNotification.Reason.recordUpdated`](/documentation/CloudKit/CKQueryNotification/Reason/recordUpdated)

A notification that indicates the update of a record matching the subscription’s predicate.

[`CKQueryNotification.Reason.recordDeleted`](/documentation/CloudKit/CKQueryNotification/Reason/recordDeleted)

A notification that indicates the deletion of a record matching the subscription’s predicate.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)