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-10 01:55:29 +0400
committermichael-grunder <michael.grunder@gmail.com>2015-05-06 00:43:05 +0300
commitb16ace6ba6173168828bb937a781522f97e3f3b5 (patch)
tree5259e57a5fca8455efbc20b2d74d1ac7288ee6bd /redis_cluster.h
parent98a16f681b1e87615089ec4645cb3780a3e78d98 (diff)
Added command generic, LPUSH/RPUSH
Added a generic command routine where we take a key and then a variable number of arguments. This works for stuff like LPUSH, RPUSH, SADD, SREM, and the like... Implemented LPUSH/RPUSH
Diffstat (limited to 'redis_cluster.h')
-rw-r--r--redis_cluster.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/redis_cluster.h b/redis_cluster.h
index 4c84451f..12d40ecd 100644
--- a/redis_cluster.h
+++ b/redis_cluster.h
@@ -77,6 +77,8 @@ PHP_METHOD(RedisCluster, persist);
PHP_METHOD(RedisCluster, lpop);
PHP_METHOD(RedisCluster, rpop);
PHP_METHOD(RedisCluster, spop);
+PHP_METHOD(RedisCluster, rpush);
+PHP_METHOD(RedisCluster, lpush);
PHP_METHOD(RedisCluster, rpushx);
PHP_METHOD(RedisCluster, lpushx);
PHP_METHOD(RedisCluster, linsert);