---
Title: filter
aliases: /integrate/redis-data-integration/ingest/reference/data-transformation/filter/
alwaysopen: false
categories:
- docs
- integrate
- rs
- rdi
description: Filter records
group: di
linkTitle: filter
summary:
Redis Data Integration keeps Redis in sync with the primary database in near
real time.
type: integration
weight: 10
---
Filter records
**Properties**
| Name | Type | Description | Required |
| -------------- | -------- | --------------------------------------------- | -------- |
| **expression** | `string` | Expression
| yes |
| **language** | `string` | Language
Enum: `"jmespath"`, `"sql"`
| yes |
**Additional Properties:** not allowed
**Example**
```yaml
source:
schema: dbo
table: emp
transform:
- uses: filter
with:
language: sql
expression: age>20
```