Skip to content

Commit 0ff60f6

Browse files
Update triggers.md
1 parent a4d8c8e commit 0ff60f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tf/triggers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ For the full list of supported events, see the [Redis Key Space notifications pa
44

55
The following code creates a new key space trigger that adds a new field to a hash with the latest update time.
66

7-
```redis Load keyspace example
7+
```redis:[run_confirmation=true] Load keyspace example
88
TFUNCTION LOAD REPLACE "#!js name=myFirstLibrary api_version=1.0\n
99
function addLastUpdatedField(client, data) {
1010
if(data.event == 'hset') {
@@ -18,7 +18,7 @@ TFUNCTION LOAD REPLACE "#!js name=myFirstLibrary api_version=1.0\n
1818

1919
Add a new hash with the required prefix to trigger our function.
2020

21-
```redis Create an example hash
21+
```redis:[run_confirmation=true] Create an example hash
2222
HSET bike:1
2323
model "Deimos"
2424
brand "Ergonom"

0 commit comments

Comments
 (0)