redis-clustr
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -42,2 +42,3 @@ var setupCommands = require('./src/setupCommands'); | ||
RedisClustr.prototype.selectClient = function(key) { | ||
if (Array.isArray(key)) key = key[0]; | ||
var slot = crc16(key); | ||
@@ -44,0 +45,0 @@ |
{ | ||
"name": "redis-clustr", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A poor man's redis cluster client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -54,4 +54,6 @@ // not really tests but being used to ensure things are working | ||
console.log(arguments[1]); | ||
}) | ||
}); | ||
m.zadd(['key', 1, 'a', 2, 'b'], function(){ console.log('multizadd', arguments); }); | ||
m.exec(function(err, res) { | ||
@@ -61,2 +63,3 @@ console.log('multi complete', res); | ||
c.zadd(['key2', 1, 'a'], function() { console.log('nomulti zadd', arguments); }); | ||
@@ -63,0 +66,0 @@ c.del(['hi','hello','oi','wtf'], function() { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9302
391