Skip to content

Commit

Permalink
Update README.md (Fix typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
haoyu234 authored and sewenew committed Mar 30, 2023
1 parent 90703cd commit de46804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ pipe.set("key", "val").incr("num");
auto replies = pipe.exec();
// The same as:
replies = pipe.set("key", "val").incr("num).exec();
replies = pipe.set("key", "val").incr("num").exec();
```
In fact, these commands won't be sent to Redis, until you call `Pipeline::exec`. So `Pipeline::exec` does 2 work in order: send all piped commands, then get all replies from Redis.
Expand Down

0 comments on commit de46804

Please sign in to comment.