mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 00:10:25 +01:00
add llen to dbal
This commit is contained in:
@@ -56,4 +56,8 @@ module.exports = function (redisClient, module) {
|
||||
}
|
||||
redisClient.lrange(key, start, stop, callback);
|
||||
};
|
||||
|
||||
module.listLength = function (key, callback) {
|
||||
redisClient.llen(key, callback);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user