<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CKToolJS",
  "identifier" : "/documentation/CKToolJS/CKDBQueryRecordsRequestBody/requestedFields",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CKTool JS"
    ],
    "preciseIdentifier" : "instp/CKDBQueryRecordsRequestBody/requestedFields"
  },
  "title" : "requestedFields"
}
-->

# requestedFields

An array of record field names that limit the amount of data the server returns in this operation.

```
attribute string[]? requestedFields;
```

## Discussion

The server only returns the fields specified in the array. If omitted, the server returns all record fields. If set to an empty array, the server returns record metadata without the fields.

---

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)