---
title: CKDatabase.Scope.shared
framework: cloudkit
role: symbol
role_heading: Case
path: cloudkit/ckdatabase/scope/shared
---

# CKDatabase.Scope.shared

The shared database.

## Declaration

```swift
case shared
```

## Discussion

Discussion Records in a shared database: Are available to share participants based on the permissions of the enclosing CKShare Are not visible to the application developer via the Developer Portal. Are counted towards the originating owner’s iCloud account storage quota.

## See Also

### Database Scopes

- [CKDatabase.Scope.public](cloudkit/ckdatabase/scope/public.md)
- [CKDatabase.Scope.private](cloudkit/ckdatabase/scope/private.md)
