Browse Source

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.
gh-pages v0.5.11
Matt Ranney 14 years ago
parent
commit
f624fa6234
  1. 7
      changelog.md
  2. 2
      index.js
  3. 2
      package.json

7
changelog.md

@ -1,6 +1,13 @@
Changelog 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 ## v0.5.10 - April 6, 2011
Added HVALS Added HVALS

2
index.js

@ -585,7 +585,7 @@ function Multi(client, args) {
"getbit", "setbit", "getrange", "setrange", "getbit", "setbit", "getrange", "setrange",
// misc // misc
"getset", "mset", "msetnx", "randomkey", "select", "move", "rename", "renamenx", "expire", "expireat", "keys", "dbsize", "ping", "echo", "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", "monitor", "ttl", "persist", "slaveof", "debug", "config", "subscribe", "unsubscribe", "psubscribe", "punsubscribe", "publish", "watch", "unwatch",
"quit" "quit"
].forEach(function (command) { ].forEach(function (command) {

2
package.json

@ -1,5 +1,5 @@
{ "name" : "redis", { "name" : "redis",
"version" : "0.5.10", "version" : "0.5.11",
"description" : "Redis client library", "description" : "Redis client library",
"author": "Matt Ranney <mjr@ranney.com>", "author": "Matt Ranney <mjr@ranney.com>",
"contributors": [ "contributors": [

Loading…
Cancel
Save