You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-10 11:43:01 +03:00
Update README.md
This commit is contained in:
@@ -394,7 +394,7 @@ responses using JavaScript syntax.
|
|||||||
```js
|
```js
|
||||||
client.hmset("key", "foo", "bar", "hello", "world");
|
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.foo); // > "bar"
|
||||||
console.log(value.hello); // > "world"
|
console.log(value.hello); // > "world"
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user