mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 11:41:20 +00:00
SSCAN implemented.
This commit is contained in:
@ -906,3 +906,11 @@ void sdiffCommand(redisClient *c) {
|
||||
void sdiffstoreCommand(redisClient *c) {
|
||||
sunionDiffGenericCommand(c,c->argv+2,c->argc-2,c->argv[1],REDIS_OP_DIFF);
|
||||
}
|
||||
|
||||
void sscanCommand(redisClient *c) {
|
||||
robj *set;
|
||||
|
||||
if ((set = lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
|
||||
checkType(c,set,REDIS_SET)) return;
|
||||
scanGenericCommand(c,set);
|
||||
}
|
||||
|
Reference in New Issue
Block a user