# NamedQueryState

Canonical page: https://www.adaptabletools.com/docs/reference/namedquerystate

Named Query section of Adaptable State, including Initial State.

Each query is a scalar AdapTableQL expression other expressions can call with `QUERY('Name')`. Aggregations are not allowed. `ReturnType` defaults to `'boolean'`, which can be used as a Grid Filter or Alert rule.

```ts title="TypeScript"
export interface NamedQueryState extends BaseState 
```

###### Extends

[`BaseState`](https://www.adaptabletools.com/docs/reference/basestate.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [NamedQueries](https://www.adaptabletools.com/docs/reference/namedquerystate.md#namedqueries) | [`NamedQuery`](https://www.adaptabletools.com/docs/reference/namedquery.md)`[]` | Named Queries other expressions can reference with `QUERY('Name')`. |

## Property Details

### NamedQueries

Named Queries other expressions can reference with `QUERY('Name')`.

```ts title="TypeScript"
NamedQueries?: NamedQuery[];
```

###### Property Value

[`NamedQuery`](https://www.adaptabletools.com/docs/reference/namedquery.md)`[]`
