ZRANGE, ZREVRANGE now support WITHSCORES options

This commit is contained in:
antirez
2009-12-22 16:09:27 -05:00
parent f6bea06f74
commit 752da584f0
2 changed files with 16 additions and 5 deletions

View File

@ -96,9 +96,9 @@ static struct redisCommand cmdTable[] = {
{"zincrby",4,REDIS_CMD_BULK},
{"zrem",3,REDIS_CMD_BULK},
{"zremrangebyscore",4,REDIS_CMD_INLINE},
{"zrange",4,REDIS_CMD_INLINE},
{"zrange",-4,REDIS_CMD_INLINE},
{"zrangebyscore",-4,REDIS_CMD_INLINE},
{"zrevrange",4,REDIS_CMD_INLINE},
{"zrevrange",-4,REDIS_CMD_INLINE},
{"zcard",2,REDIS_CMD_INLINE},
{"zscore",3,REDIS_CMD_BULK},
{"incrby",3,REDIS_CMD_INLINE},