Skip to content

Commit 8d87432

Browse files
Update content/integrate/redis-data-integration/data-pipelines/transform-examples/redis-expiration-example.md
Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com>
1 parent 1fbbaa9 commit 8d87432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/integrate/redis-data-integration/data-pipelines/transform-examples/redis-expiration-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The transformation depends on the data type of the field in the source database:
9898
expire:
9999
# `time_delta_seconds` Returns the number of seconds between a given dt and now.
100100
# A negative value means that the given dt is in the future, so we need to invert it.
101-
# A positive value means that the given dt is in the past, so we set the expiration to -1 (expire immediately).
101+
# A positive value means that the given dt is in the past, so set the expiration to -1 (expire immediately).
102102
expression: CASE WHEN expire_seconds < 0 THEN -expire_seconds ELSE -1 END
103103
language: sql
104104
```

0 commit comments

Comments
 (0)