Skip to content

Commit

Permalink
Add keys to evalsha
Browse files Browse the repository at this point in the history
Shouldn't `evalscript` take a `keys` argument, at least according to https://redis.io/docs/latest/commands/eval/ ?
  • Loading branch information
aviks authored Jul 5, 2024
1 parent 13d925a commit d45ca66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands.jl
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ end

# Scripting commands
# TODO: PipelineConnection and TransactionConnection
function evalscript(conn::RedisConnection, script, numkeys::Integer, args)
response = execute_command(conn, flatten_command("eval", script, numkeys, args))
function evalscript(conn::RedisConnection, script, numkeys::Integer, keys, args)
response = execute_command(conn, flatten_command("eval", script, numkeys, keys, args))
convert_eval_response(Any, response)
end

Expand Down

0 comments on commit d45ca66

Please sign in to comment.