mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
HSCAN implemented.
This commit is contained in:
@ -759,3 +759,11 @@ void hexistsCommand(redisClient *c) {
|
||||
|
||||
addReply(c, hashTypeExists(o,c->argv[2]) ? shared.cone : shared.czero);
|
||||
}
|
||||
|
||||
void hscanCommand(redisClient *c) {
|
||||
robj *o;
|
||||
|
||||
if ((o= lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
|
||||
checkType(c,o,REDIS_HASH)) return;
|
||||
scanGenericCommand(c,o);
|
||||
}
|
||||
|
Reference in New Issue
Block a user