浏览代码

Fixed the pipline example in the README.

Daniele Alessandri 15 年之前
父节点
当前提交
e3e0475826
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.markdown

+ 1 - 1
README.markdown

@@ -48,7 +48,7 @@ to a server in one go:
     $pipe->incrby('counter', 10);
     $pipe->incrby('counter', 30);
     $pipe->get('counter');
-    $replies = $pipe->flushPipeline();
+    $replies = $pipe->execute();
 
 
 ### Pipelining multiple commands to multiple instances of Redis (sharding) ##