<!--
{
  "availability" : [

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

# CKDBDeleteRecordsByQueryRequestBody

An object that represents the request to delete multiple records that match a query.

```
dictionary CKDBDeleteRecordsByQueryRequestBody {
	boolean? dryRun;
	string recordType;
	CKDBQueryFilter[]? filters;
	Int32? resultsLimit;
	string? continuationToken;
};
```

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

## Topics

### Instance Properties

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

The location of the last batch of results.

[`attribute boolean? dryRun;`](/documentation/CKToolJS/CKDBDeleteRecordsByQueryRequestBody/dryRun)

A Boolean value that indicates whether to delete matching records.

[`attribute CKDBQueryFilter[]? filters;`](/documentation/CKToolJS/CKDBDeleteRecordsByQueryRequestBody/filters)

The array of filters to apply when querying records for deletion.

[`attribute string recordType;`](/documentation/CKToolJS/CKDBDeleteRecordsByQueryRequestBody/recordType)

The record type to use when performing the query.

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

The maximum number of records to delete.

---

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)