File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
redis/sdks/ts/commands/scripts Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ description: Evaluate a read-only Lua script server side.
2828const script = `
2929 return ARGV[1]
3030`
31- const result = await redis .eval_ro (script , [], [" hello" ]);
31+ const result = await redis .evalRo (script , [], [" hello" ]);
3232console .log (result ) // "hello"
3333
3434```
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ description: Evaluate a cached read-only Lua script server side.
2828<RequestExample >
2929``` ts Example
3030
31- const result = await redis .evalsha_ro (" fb67a0c03b48ddbf8b4c9b011e779563bdbc28cb" , [], [" hello" ]);
31+ const result = await redis .evalshaRo (" fb67a0c03b48ddbf8b4c9b011e779563bdbc28cb" , [], [" hello" ]);
3232console .log (result ) // "hello"
3333
3434```
You can’t perform that action at this time.
0 commit comments