Browse Source

Fixed the pipline example in the README.

Daniele Alessandri 15 years ago
parent
commit
e3e0475826
1 changed files with 1 additions and 1 deletions
  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) ##