# PersistedFilterCondition (@salmonui/data-grid/engine)

> The PersistedFilterCondition type of @salmonui/data-grid/engine.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/PersistedFilterCondition

```ts
import type { PersistedFilterCondition } from '@salmonui/data-grid/engine';
```

Also exported from `@salmonui/data-grid/engine/persistence`.

Entry index: https://salmonui.dev/docs/reference/data-grid/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine.md).

## Reference

Kind: type

```ts
type PersistedFilterCondition = {
    readonly field: string;
    readonly operator: FilterOperator | (string & {});
    readonly value: Json;
    readonly logic: 'and' | 'or';
    readonly matchCase?: boolean;
    readonly ignoreAccents?: boolean;
};
```

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `field` | `readonly field: string;` |  |  |
| `operator` | `readonly operator: FilterOperator \| (string & {});` |  |  |
| `value` | `readonly value: Json;` |  |  |
| `logic` | `readonly logic: 'and' \| 'or';` |  | Combination with the previous condition. |
| `matchCase` | `readonly matchCase?: boolean;` | optional |  |
| `ignoreAccents` | `readonly ignoreAccents?: boolean;` | optional |  |
