|
@ -450,8 +450,11 @@ function onCollection(err, collection) { |
|
|
resobarray.push(resob1) |
|
|
resobarray.push(resob1) |
|
|
var resob1string = JSON.stringify(resob1); |
|
|
var resob1string = JSON.stringify(resob1); |
|
|
console.log('+++++++++++++++++' + resob1string + '<<<<<<<<<<<<<<<<<<<<<<' + pathfileval); |
|
|
console.log('+++++++++++++++++' + resob1string + '<<<<<<<<<<<<<<<<<<<<<<' + pathfileval); |
|
|
pubClient.hmset(pathfileval,resob1string) |
|
|
//pubClient.hmset(pathfileval,resob1string)
|
|
|
await pubClient.hgetall(pathfileval, function(err, object) { |
|
|
pubClient.hmset(pathfileval, resob1string, function(err, res) { |
|
|
|
|
|
console.log('====================================================== '+JSON.stringify(res)); |
|
|
|
|
|
}); |
|
|
|
|
|
await pubClient.hgetall(pathfileval, function(err, object) { |
|
|
console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> '+JSON.stringify(object)); |
|
|
console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> '+JSON.stringify(object)); |
|
|
}); |
|
|
}); |
|
|
//}
|
|
|
//}
|
|
|