We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I want to use 'ZSCAN' command but it throws the following.
Error: Redis Error { [Error: ERR syntax error] command: 'ZSCAN', code: 'ERR' }
Code: connection.zscan(key , 0 , {match : value + "*"} , function(err,data){ if(err){ console.log("Redis Error",err); return err; }else cb(null,data); });
Please guide me as to the proper usage of this. Thanks.
The text was updated successfully, but these errors were encountered:
@vabnirvana The following should work:
client.zscan(key, 0, 'MATCH', value + '*', callback);
The object notation is only supported for HGETALL.
Sorry, something went wrong.
The result is ["0" , []] always empty array in all cases. Where as when i do the command in redis it gives me result.
I just wrote a test for it and it works as it should for me. Please check your key or pattern to really match your entries.
No branches or pull requests
Hi,
I want to use 'ZSCAN' command but it throws the following.
Error:
Redis Error { [Error: ERR syntax error] command: 'ZSCAN', code: 'ERR' }
Code:
connection.zscan(key , 0 , {match : value + "*"} , function(err,data){
if(err){
console.log("Redis Error",err);
return err;
}else
cb(null,data);
});
Please guide me as to the proper usage of this. Thanks.
The text was updated successfully, but these errors were encountered: