Просмотр исходного кода

Fixed the pipline example in the README.

Daniele Alessandri 15 лет назад
Родитель
Сommit
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) ##