added tag counts to api return

This commit is contained in:
barisusakli
2014-08-14 21:12:12 -04:00
parent 931d46fe7e
commit e10eaf0d50
4 changed files with 42 additions and 9 deletions

View File

@@ -101,6 +101,10 @@ module.exports = function(db, module) {
});
};
module.sortedSetsCard = function(keys, callback) {
async.map(keys, module.sortedSetCard, callback);
};
module.sortedSetRank = function(key, value, callback) {
getSortedSetRank(module.getSortedSetRange, key, value, callback);
};