Jelajahi Sumber

Fixed the pipline example in the README.

Daniele Alessandri 15 tahun lalu
induk
melakukan
e3e0475826
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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) ##