LTRIM support for redis

v1.18.x
psychobunny 11 years ago
parent cf031be904
commit 7327730252

@ -20,4 +20,8 @@ module.exports = function(redisClient, module) {
module.getListRange = function(key, start, stop, callback) {
redisClient.lrange(key, start, stop, callback);
};
module.listTrim = function(key, start, stop, callback) {
redisClient.ltrim(key, start, stop, callback);
};
};
Loading…
Cancel
Save