<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CloudKitJS",
  "identifier" : "/documentation/CloudKitJS/CloudKit.Container/sharedCloudDatabase",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CloudKit JS"
    ],
    "preciseIdentifier" : "instp/CloudKit.Container/sharedCloudDatabase"
  },
  "title" : "sharedCloudDatabase"
}
-->

# sharedCloudDatabase

The database containing shared records accepted by the current user.

```
readonly attribute CloudKit.Database sharedCloudDatabase;
```

## Discussion

The shared database allows the current user (a participant) to access records shared by other users (owners). Shared records are stored in the owner’s container and count towards the owner’s iCloud account storage quota.

---

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)