<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [IdentifierResultsActions](./x-components.identifierresultsactions.md) &gt; [saveQuery](./x-components.identifierresultsactions.savequery.md)

## IdentifierResultsActions.saveQuery() method

Stores the query in the module if it matches the regex.

**Signature:**

```typescript
saveQuery(query: string): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  query | string |  |

**Returns:**

void

