mirror of
https://github.com/fluencelabs/redis
synced 2025-07-03 19:01:33 +00:00
ZSCAN implemented.
This commit is contained in:
@ -2204,3 +2204,11 @@ void zrankCommand(redisClient *c) {
|
||||
void zrevrankCommand(redisClient *c) {
|
||||
zrankGenericCommand(c, 1);
|
||||
}
|
||||
|
||||
void zscanCommand(redisClient *c) {
|
||||
robj *o;
|
||||
|
||||
if ((o= lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
|
||||
checkType(c,o,REDIS_ZSET)) return;
|
||||
scanGenericCommand(c,o);
|
||||
}
|
||||
|
Reference in New Issue
Block a user