add llen to dbal

This commit is contained in:
Baris Usakli
2018-03-15 12:06:40 -04:00
parent fd13f690ae
commit 959a742c63
3 changed files with 28 additions and 0 deletions

View File

@@ -56,4 +56,8 @@ module.exports = function (redisClient, module) {
}
redisClient.lrange(key, start, stop, callback);
};
module.listLength = function (key, callback) {
redisClient.llen(key, callback);
};
};