I want to get all values from my redis and store it into a array in nodejs
Here is my present code,
redisClient.keys("Serial*", function (err, keys) {
keys.forEach(function (key, i) {
redisClient.hgetall(key, function (err, currencyData) {
console.log(currencyData);
})
});
});
it allows me to output all values to console but I need to use these values