New command: HVALS (Redis v2.0-dev).

This commit is contained in:
Daniele Alessandri
2010-03-16 17:22:46 +01:00
parent cd8674c2f7
commit 13ae4c4ca0
+6
View File
@@ -1236,6 +1236,8 @@ class RedisServer_vNext extends RedisServer_v1_2 {
'hashDelete' => '\Predis\Commands\HashDelete',
'hkeys' => '\Predis\Commands\HashKeys',
'hashKeys' => '\Predis\Commands\HashKeys',
'hvals' => '\Predis\Commands\HashValues',
'hashValues' => '\Predis\Commands\HashValues',
));
}
}
@@ -1762,6 +1764,10 @@ class HashKeys extends \Predis\InlineCommand {
public function getCommandId() { return 'HKEYS'; }
}
class HashValues extends \Predis\InlineCommand {
public function getCommandId() { return 'HVALS'; }
}
/* multiple databases handling commands */
class SelectDatabase extends \Predis\InlineCommand {
public function canBeHashed() { return false; }