Description Usage Arguments Details Value Author(s) References See Also Examples
Return all fields and values associated with the given key.
1 | redisHGetAll(key, ...)
|
key |
The key to look up. |
... |
Optional additional arguments. Specify |
Returns all the fields and their values in the Redis hash
associated with key
.
If the key is not found, or if the hash is empty, NULL is returned. If the
key is associated with a value of type other than 'hash,' an error is
thrown.
A list of values defined for the given key, named by the field names.
B. W. Lewis
http://redis.io/commands
1 2 3 4 5 | ## Not run:
redisHMSet('A',list(x=1,y=2,z=3))
redisHGetAll('A')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.