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

This commit is contained in:
Daniele Alessandri
2010-03-16 17:24:58 +01:00
parent 13ae4c4ca0
commit 9e417d9bcf
+6
View File
@@ -1238,6 +1238,8 @@ class RedisServer_vNext extends RedisServer_v1_2 {
'hashKeys' => '\Predis\Commands\HashKeys',
'hvals' => '\Predis\Commands\HashValues',
'hashValues' => '\Predis\Commands\HashValues',
'hgetall' => '\Predis\Commands\HashGetAll',
'hashKeysValues' => '\Predis\Commands\HashGetAll',
));
}
}
@@ -1768,6 +1770,10 @@ class HashValues extends \Predis\InlineCommand {
public function getCommandId() { return 'HVALS'; }
}
class HashGetAll extends \Predis\InlineCommand {
public function getCommandId() { return 'HGETALL'; }
}
/* multiple databases handling commands */
class SelectDatabase extends \Predis\InlineCommand {
public function canBeHashed() { return false; }