Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2014-06-08 05:10:34 +0400
committermichael-grunder <michael.grunder@gmail.com>2015-05-06 00:40:37 +0300
commit39a8673b86c8e073613d6b52f2c48f1a22f8d9ff (patch)
tree6c1aefce60ff79d8960fe193cb41542595ce17f8 /php_redis.h
parent27815795fa7fec0d25a02bfbf0fe0456b107ba38 (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.h2
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);