<!--
{
  "availability" : [

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

# CKDBRecord

An object that represents a record in a database.

```
dictionary CKDBRecord {
	string recordName;
	string recordType;
	string recordChangeTag;
	CKDBChangeMetadata created;
	CKDBChangeMetadata modified;
	dictionary fields;
	dictionary? otherSystemFields;
	CKDBNullableReference? share;
	CKDBNullableReference? parent;
	string? shortGuid;
	CKDBPermissionType? publicPermission;
	CKDBShareParticipant[]? participants;
	CKDBShareParticipant? owner;
	CKDBShareParticipant? currentUserParticipant;
	CKDBStableUrl? stableUrl;
	CKDBZoneId? zone;
};
```

## 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 { CKDBRecord } from "@apple/cktool.database";
```

## Topics

### Instance Properties

[`attribute CKDBChangeMetadata created;`](/documentation/CKToolJS/CKDBRecord/created)

[`attribute CKDBShareParticipant? currentUserParticipant;`](/documentation/CKToolJS/CKDBRecord/currentUserParticipant)

[`attribute dictionary fields;`](/documentation/CKToolJS/CKDBRecord/fields)

The dictionary of key-value pairs whose keys are the record field names and values are field-value dictionaries.

[`attribute CKDBChangeMetadata modified;`](/documentation/CKToolJS/CKDBRecord/modified)

[`attribute dictionary? otherSystemFields;`](/documentation/CKToolJS/CKDBRecord/otherSystemFields)

[`attribute CKDBShareParticipant? owner;`](/documentation/CKToolJS/CKDBRecord/owner)

[`attribute CKDBNullableReference? parent;`](/documentation/CKToolJS/CKDBRecord/parent)

[`attribute CKDBShareParticipant[]? participants;`](/documentation/CKToolJS/CKDBRecord/participants)

The array of participants in the shared record.

[`attribute CKDBPermissionType? publicPermission;`](/documentation/CKToolJS/CKDBRecord/publicPermission)

[`attribute string recordChangeTag;`](/documentation/CKToolJS/CKDBRecord/recordChangeTag)

A string that contains the server change token for the record.

[`attribute string recordName;`](/documentation/CKToolJS/CKDBRecord/recordName)

The unique name used to identify the record within a zone.

[`attribute string recordType;`](/documentation/CKToolJS/CKDBRecord/recordType)

The name of the record type.

[`attribute CKDBNullableReference? share;`](/documentation/CKToolJS/CKDBRecord/share)

[`attribute string? shortGuid;`](/documentation/CKToolJS/CKDBRecord/shortGuid)

A global unique identifier for this record used for sharing.

[`attribute CKDBStableUrl? stableUrl;`](/documentation/CKToolJS/CKDBRecord/stableUrl)

[`attribute CKDBZoneId? zone;`](/documentation/CKToolJS/CKDBRecord/zone)

---

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)