Pārlūkot izejas kodu

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

Daniele Alessandri 15 gadi atpakaļ
vecāks
revīzija
13ae4c4ca0
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. 6 0
      lib/Predis.php

+ 6 - 0
lib/Predis.php

@@ -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; }