SDIFF/SDIFFSTORE implemnted unifying it with the implementation of SUNION/SUNIONSTORE

This commit is contained in:
antirez
2009-05-17 13:45:08 +02:00
parent 1904ecc165
commit f4f56e1dfb
3 changed files with 65 additions and 18 deletions

View File

@ -83,6 +83,8 @@ static struct redisCommand cmdTable[] = {
{"sinterstore",-3,REDIS_CMD_INLINE},
{"sunion",-2,REDIS_CMD_INLINE},
{"sunionstore",-3,REDIS_CMD_INLINE},
{"sdiff",-2,REDIS_CMD_INLINE},
{"sdiffstore",-3,REDIS_CMD_INLINE},
{"smembers",2,REDIS_CMD_INLINE},
{"incrby",3,REDIS_CMD_INLINE},
{"decrby",3,REDIS_CMD_INLINE},