<!--
{
  "availability" : [

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

# CKDBQueryRecordsRequestBody

An object that represents the request for fetching multiple records that match a query.

```
dictionary CKDBQueryRecordsRequestBody {
	CKDBQuery query;
	Int32? resultsLimit;
	string? continuationToken;
	string[]? requestedFields;
};
```

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

## Topics

### Instance Properties

[`attribute string? continuationToken;`](/documentation/CKToolJS/CKDBQueryRecordsRequestBody/continuationToken)

The location of the last batch of results.

[`attribute CKDBQuery query;`](/documentation/CKToolJS/CKDBQueryRecordsRequestBody/query)

[`attribute string[]? requestedFields;`](/documentation/CKToolJS/CKDBQueryRecordsRequestBody/requestedFields)

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

[`attribute Int32? resultsLimit;`](/documentation/CKToolJS/CKDBQueryRecordsRequestBody/resultsLimit)

The maximum number of records to fetch.

---

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)