瀏覽代碼

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',