Преглед изворни кода

New command: GETRANGE (Redis v2.2-dev - replaces SUBSTR).

Daniele Alessandri пре 14 година
родитељ
комит
f32cd19800
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      lib/Predis.php

+ 1 - 0
lib/Predis.php

@@ -1823,6 +1823,7 @@ class RedisServer_vNext extends RedisServer_v2_0 {
 
             /* commands operating on string values */
             'strlen'                    => '\Predis\Commands\Strlen',
+            'getrange'                  => '\Predis\Commands\Substr',
 
             /* commands operating on the key space */
             'persist'                   => '\Predis\Commands\Persist',