Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

redisHGetAll

Redis hash fields and values.


Description

Return all fields and values associated with the given key.

Usage

redisHGetAll(key, ...)

Arguments

key

The key to look up.

...

Optional additional arguments. Specify raw=TRUE to skip de-serialization of the data.

Details

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.

Value

A list of values defined for the given key, named by the field names.

Author(s)

B. W. Lewis

References

http://redis.io/commands

See Also

Examples

## Not run: 
redisHMSet('A',list(x=1,y=2,z=3))
redisHGetAll('A')

## End(Not run)

rredis

"Redis" Key/Value Database Client

v1.7.0
Apache License (>= 2.0)
Authors
B. W. Lewis
Initial release
2015-07-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.