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-07-11 19:43:08 +0400
committermichael-grunder <michael.grunder@gmail.com>2015-05-06 01:04:11 +0300
commit56419cdaa6482a66248f5573168b56b77b544034 (patch)
tree4d7624815d48fdfa0f92ee3d582e19252383f8f2 /redis_cluster.h
parenta85e04b2fec1697111876256c1461dcbccc1ee4b (diff)
RANDOMKEY
Implemented RANDOMKEY command for Redis Cluster
Diffstat (limited to 'redis_cluster.h')
-rw-r--r--redis_cluster.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/redis_cluster.h b/redis_cluster.h
index 6468e6e7..2097f0b7 100644
--- a/redis_cluster.h
+++ b/redis_cluster.h
@@ -241,7 +241,7 @@ PHP_METHOD(RedisCluster, discard);
PHP_METHOD(RedisCluster, watch);
PHP_METHOD(RedisCluster, unwatch);
-/* DB saving, server info, etc */
+/* Commands we direct to a node, with no args */
PHP_METHOD(RedisCluster, save);
PHP_METHOD(RedisCluster, bgsave);
PHP_METHOD(RedisCluster, flushdb);
@@ -251,6 +251,7 @@ PHP_METHOD(RedisCluster, bgrewriteaof);
PHP_METHOD(RedisCluster, lastsave);
PHP_METHOD(RedisCluster, role);
PHP_METHOD(RedisCluster, time);
+PHP_METHOD(RedisCluster, randomkey);
/* Introspection */
PHP_METHOD(RedisCluster, getoption);