New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling mget with an empty array of keys throws an error #125
Comments
Here is an example of mget, does this solve the issue? client.mget(["sessions started", "sessions started", "foo"], function (err, res) {
console.dir(res);
}); |
I'm getting the same error as OP ( Having zero-length input array is no special case IMO, it makes client code logic unnecessarily ugly. Using redis-2.4.17 + node-redis v0.8.1. |
@piskvorky What kind of behaviour are you expecting when calling |
I expect |
as in redis.mget([ ], mycallback).
I get the error: "Error: ERR wrong number of arguments for 'mget' command"
The text was updated successfully, but these errors were encountered: