1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

Merge pull request #1563 from lebseu/patch-1

Update README.md
This commit is contained in:
Guy Korland
2021-03-04 19:03:19 +02:00
committed by GitHub

View File

@@ -394,7 +394,7 @@ responses using JavaScript syntax.
```js
client.hmset("key", "foo", "bar", "hello", "world");
client.hgetall("hosts", function(err, value) {
client.hgetall("key", function(err, value) {
console.log(value.foo); // > "bar"
console.log(value.hello); // > "world"
});