Skip to content

Commit 1675ca1

Browse files
ubombisuxb201
authored andcommitted
Update function.md example.
The function is part of [filter]
1 parent b1547de commit 1675ca1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/src/en/filter/function.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ To use the function feature, you only need to write a Lua script. After RedisSha
1414

1515
Here's a specific example:
1616
```toml
17+
[filter]
1718
function = """
1819
shake.log(DB)
1920
if DB == 0
@@ -144,4 +145,4 @@ end
144145
shake.call(DB, ARGV)
145146
```
146147

147-
The effect is to write source `db 1` to destination `db 2`, write source `db 2` to destination `db 1`, and leave other `db`s unchanged.
148+
The effect is to write source `db 1` to destination `db 2`, write source `db 2` to destination `db 1`, and leave other `db`s unchanged.

0 commit comments

Comments
 (0)