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

# CKDatabase.Scope

Constants that represent the scope of a database.

```
enum Scope
```

## Topics

### Database Scopes

[`CKDatabase.Scope.public`](/documentation/CloudKit/CKDatabase/Scope/public)

The public database.

[`CKDatabase.Scope.private`](/documentation/CloudKit/CKDatabase/Scope/private)

The private database.

[`CKDatabase.Scope.shared`](/documentation/CloudKit/CKDatabase/Scope/shared)

The shared database.



---

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)