Permalink
Browse files

Added DISCARD

I originally didn't think DISCARD would do anything here because of the clever MULTI interface, but somebody
pointed out to me that DISCARD can be used to flush the WATCH set.
  • Loading branch information...
1 parent 2b8b2cb commit f624fa62347a59c1fefbc37760b58c7172209a81 @mranney mranney committed Apr 7, 2011
Showing with 9 additions and 2 deletions.
  1. +7 −0 changelog.md
  2. +1 −1 index.js
  3. +1 −1 package.json
View
@@ -1,6 +1,13 @@
Changelog
=========
+## v0.5.11 - April 7, 2011
+
+Added DISCARD
+
+I originally didn't think DISCARD would do anything here because of the clever MULTI interface, but somebody
+pointed out to me that DISCARD can be used to flush the WATCH set.
+
## v0.5.10 - April 6, 2011
Added HVALS
View
@@ -585,7 +585,7 @@ function Multi(client, args) {
"getbit", "setbit", "getrange", "setrange",
// misc
"getset", "mset", "msetnx", "randomkey", "select", "move", "rename", "renamenx", "expire", "expireat", "keys", "dbsize", "ping", "echo",
- "save", "bgsave", "bgwriteaof", "shutdown", "lastsave", "type", "sync", "flushdb", "flushall", "sort", "info",
+ "save", "bgsave", "bgwriteaof", "shutdown", "lastsave", "type", "sync", "flushdb", "flushall", "sort", "info", "discard",
"monitor", "ttl", "persist", "slaveof", "debug", "config", "subscribe", "unsubscribe", "psubscribe", "punsubscribe", "publish", "watch", "unwatch",
"quit"
].forEach(function (command) {
View
@@ -1,5 +1,5 @@
{ "name" : "redis",
- "version" : "0.5.10",
+ "version" : "0.5.11",
"description" : "Redis client library",
"author": "Matt Ranney <mjr@ranney.com>",
"contributors": [

0 comments on commit f624fa6

Please sign in to comment.