mirror of
https://github.com/predis/predis.git
synced 2026-09-15 21:07:08 +00:00
New command: HGETALL (Redis v2.0-dev).
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user