Skip to content

Commit 672db69

Browse files
Changing layout to use right-side navigation
Adding TODO for adding examples for other databases
1 parent f58e252 commit 672db69

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ output:
5353

5454
Settings the expiration according to a field that contains a date, datetime, or timestamp value is also possible, but it depends on the source database and the data types it supports. Please refer to the examples below for your specific source database and data type.
5555

56-
{{< expand "Oracle examples" >}}
56+
### Oracle examples
5757

5858
The transformation depends on the data type of the field in the source database:
5959

@@ -102,10 +102,10 @@ The transformation depends on the data type of the field in the source database:
102102
expression: CASE WHEN expire_seconds < 0 THEN -expire_seconds ELSE -1 END
103103
language: sql
104104
```
105-
{{< /expand >}}
106105
106+
----
107107
108-
{{< expand "SQL Server examples" >}}
108+
### SQL Server examples
109109
SQL Server supports the following date and time data types:
110110
111111
- `date` - represented in Debezium as number of days since epoch (1970-01-01). Please note that due to the lack of time information, this method is not very accurate.
@@ -160,4 +160,5 @@ SQL Server supports the following date and time data types:
160160
expression: strftime('%s', event_datetimeoffset) - strftime('%s', 'now')
161161
language: sql
162162
```
163-
{{< /expand >}}
163+
164+
<!-- TODO [ilianiliev-redis]: Test and document the dynamic expressions for the rest of the supported databases - MySQL, PostgresSQL, MongoDB -->

0 commit comments

Comments
 (0)