<!--
{
  "availability" : [

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

# CKDBRecordFieldReferenceValue

The value of the field of type reference.

```
dictionary CKDBRecordFieldReferenceValue {
	string type;
	CKDBRecordReference? value;
};
```

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

## Topics

### Instance Properties

[`attribute string type;`](/documentation/CKToolJS/CKDBRecordFieldReferenceValue/type)

A string used to identify the field type.

[`attribute CKDBRecordReference? value;`](/documentation/CKToolJS/CKDBRecordFieldReferenceValue/value)

---

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)