<!--
{
  "availability" : [

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

# CKDBRecordReference

An object that represents a reference to a CloudKit database record.

```
dictionary CKDBRecordReference {
	string recordName;
	string? owner;
	CKDBZoneId? zone;
	CKDBRecordReferenceAction? action;
};
```

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

## Topics

### Instance Properties

[`attribute CKDBRecordReferenceAction? action;`](/documentation/CKToolJS/CKDBRecordReference/action)

[`attribute string? owner;`](/documentation/CKToolJS/CKDBRecordReference/owner)

The owner of the referenced record.

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

The name of the referenced record.

[`attribute CKDBZoneId? zone;`](/documentation/CKToolJS/CKDBRecordReference/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)