I wanted to test out Lua scripting with Redis but I keep getting error messages for the simplest commands.
Here is a screenshot:
Why does this simple command say that I don't provide enough arguments?
I wanted to test out Lua scripting with Redis but I keep getting error messages for the simplest commands.
Here is a screenshot:
Why does this simple command say that I don't provide enough arguments?
I don't see any error running this code on a pre-release of v3.2:
redis.call("ZADD", "user", 1, "one")
return redis.call("ZRANGE", "user", 0, -1)
I get one printed to the Output window. I do get the same error if I skip one of the parameters in ZADD or ZRANGE calls, for example when trying to run redis.call("ZADD", "user", 1).