unread changes

This commit is contained in:
barisusakli
2014-09-27 17:41:49 -04:00
parent 80ca6bb0a2
commit 5fc760c6c4
4 changed files with 76 additions and 48 deletions

View File

@@ -98,6 +98,10 @@ module.exports = function(redisClient, module) {
redisClient.zrevrangebyscore([key, max, min, 'LIMIT', start, count], callback);
};
module.getSortedSetRevRangeByScoreWithScores = function(key, start, count, max, min, callback) {
redisClient.zrevrangebyscore([key, max, min, 'WITHSCORES', 'LIMIT', start, count], callback);
};
module.sortedSetCount = function(key, min, max, callback) {
redisClient.zcount(key, min, max, callback);
};