1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

Remove comment about reusing the same multi function. This is not supported anymore.

Fixes #923
This commit is contained in:
Ruben Bridgewater
2015-11-22 22:49:22 +01:00
parent 8f9ad00de2
commit 8712e32e62

View File

@@ -469,12 +469,6 @@ client.mset("incr thing", 100, "incr other thing", 1, redis.print);
multi.exec(function (err, replies) {
console.log(replies); // 101, 2
});
// you can re-run the same transaction if you like
multi.exec(function (err, replies) {
console.log(replies); // 102, 3
client.quit();
});
```
In addition to adding commands to the `MULTI` queue individually, you can also pass an array