diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-06-08 05:10:34 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 00:40:37 +0300 |
commit | 39a8673b86c8e073613d6b52f2c48f1a22f8d9ff (patch) | |
tree | 6c1aefce60ff79d8960fe193cb41542595ce17f8 /php_redis.h | |
parent | 27815795fa7fec0d25a02bfbf0fe0456b107ba38 (diff) |
Added ZRANGE and ZREVRANGE
Implemented ZRANGE and ZREVRANGE for both Redis and cluster.
We can't use generic command processing here as the return type
depends on the optional WITHSCORES bit.
In addition, switched the code around such that zReverseRange is
an alias of zRevRange because ZREVRANGE is the actual Redis
command name.
Diffstat (limited to 'php_redis.h')
-rw-r--r-- | php_redis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php_redis.h b/php_redis.h index 2c35c822..428440e8 100644 --- a/php_redis.h +++ b/php_redis.h @@ -108,7 +108,7 @@ PHP_METHOD(Redis, move); PHP_METHOD(Redis, zAdd); PHP_METHOD(Redis, zDelete); PHP_METHOD(Redis, zRange); -PHP_METHOD(Redis, zReverseRange); +PHP_METHOD(Redis, zRevRange); PHP_METHOD(Redis, zRangeByScore); PHP_METHOD(Redis, zRangeByLex); PHP_METHOD(Redis, zRevRangeByScore); |