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

# query

The matching criteria to apply to records.

## Declaration

```data
attribute Query query;
```
