mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
added getObjectKeys for julian :)
This commit is contained in:
@@ -275,6 +275,10 @@
|
||||
});
|
||||
}
|
||||
|
||||
module.getObjectKeys = function(key, callback) {
|
||||
redisClient.hkeys(key, callback);
|
||||
}
|
||||
|
||||
module.getObjectValues = function(key, callback) {
|
||||
redisClient.hvals(key, callback);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user