DATAREDIS-1139 - Fix command constants.
Deprecate constants with typos. Fix mode of ZREMRANGEBYSCORE. Original Pull Request: #528
This commit is contained in:
committed by
Christoph Strobl
parent
3b9de23297
commit
c4623ef059
@@ -140,7 +140,10 @@ public enum RedisCommand {
|
||||
QUIT("rw", 0, 0), //
|
||||
// -- R
|
||||
RANDOMKEY("r", 0, 0), //
|
||||
|
||||
@Deprecated
|
||||
RANAME("w", 2, 2), //
|
||||
RENAME("w", 2, 2), //
|
||||
RENAMENX("w", 2, 2), //
|
||||
RESTORE("w", 3, 3), //
|
||||
RPOP("rw", 1, 1), //
|
||||
@@ -200,7 +203,7 @@ public enum RedisCommand {
|
||||
ZRANK("r", 2, 2), //
|
||||
ZREM("rw", 2), //
|
||||
ZREMRANGEBYRANK("rw", 3, 3), //
|
||||
ZREMRANGEBYSCORE("rm", 3, 3), //
|
||||
ZREMRANGEBYSCORE("rw", 3, 3), //
|
||||
ZREVRANGE("r", 3), //
|
||||
ZREVRANGEBYSCORE("r", 3), //
|
||||
ZREVRANK("r", 2, 2), //
|
||||
|
||||
Reference in New Issue
Block a user