<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CKToolJS",
  "identifier" : "/documentation/CKToolJS/CKDBChangeMetadata",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "CKTool JS"
    ],
    "preciseIdentifier" : "struct/CKDBChangeMetadata"
  },
  "title" : "CKDBChangeMetadata"
}
-->

# CKDBChangeMetadata

An object that represents metadata about a record change via creation or modification.

```
dictionary CKDBChangeMetadata {
	string? deviceId;
	date timestamp;
	string userRecordName;
};
```

## Overview

In JavaScript, this is a plain object with properties as described.

In TypeScript, this type is imported in the following way:

```javascript
import type { CKDBChangeMetadata } from "@apple/cktool.database";
```

## Topics

### Instance Properties

[`attribute string? deviceId;`](/documentation/CKToolJS/CKDBChangeMetadata/deviceId)

The device where the change occurred.

[`attribute date timestamp;`](/documentation/CKToolJS/CKDBChangeMetadata/timestamp)

The time of the change.

[`attribute string userRecordName;`](/documentation/CKToolJS/CKDBChangeMetadata/userRecordName)

The record name that represents the user who made the change.

---

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)