Selaa lähdekoodia

Fixed the pipline example in the README.

Daniele Alessandri 15 vuotta sitten
vanhempi
commit
e3e0475826
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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) ##