<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [QueryMutations](./x-components.querymutations.md) &gt; [setQuery](./x-components.querymutations.setquery.md)

## QueryMutations.setQuery property

Sets the query.

**Signature:**

```typescript
setQuery: (query: string) => void;
```
