---
title: databaseScope
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckdatabase/databasescope
---

# databaseScope

The type of database.

## Declaration

```swift
var databaseScope: CKDatabase.Scope { get }
```

## Discussion

Discussion For possible values, see CKDatabase.Scope.

## See Also

### Getting the Database Type

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