---
title: database
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/cksyncengine-4b4w9/database
---

# database

The associated database.

## Declaration

```occ
@property (strong, readonly) CKDatabase * database;
```

## Discussion

Discussion Multiple sync engines can run in the same process, each targeting a different database. For example, you may use one sync engine for a person’s private database and another for their shared database.

## See Also

### Accessing the engine’s attributes

- [state](cloudkit/cksyncengine-4b4w9/state.md)
- [CKSyncEngineState](cloudkit/cksyncenginestate.md)
