---
title: desiredRecordTypes
framework: CloudKit JS
role: symbol
role_heading: Instance Property
platforms: [cloudkit js 1.0+]
path: cloudkitjs/cloudkit.recordzonechanges/desiredrecordtypes
---

# desiredRecordTypes

An array of record types that limit the amount of records returned. Only the record types specified in the array are returned.

## Declaration

```data
attribute String[] desiredRecordTypes;
```
