Learn R Programming

rredis (version 1.7.0)

redisHGet: Retrieve a hased value from Redis.

Description

Retrieve a value identified by a key and field from the Redis database.

Usage

redisHGet(key, field, ...)

Arguments

key
A key name.
field
A field name.
...
Optional additional agruments. Specify raw=TRUE to skip de-serialization of the data.

Value

The value corresponding to the specified key/field, or NULL if the matching key/field hash contained no value or if no matching key or field was found.

Details

Redis hash values store values in one or more fields associated with a single key name.

References

http://redis.io/commands

See Also

redisHSet

Examples

Run this code
## Not run: 
# redisHSet('A','x',runif(5))
# redisHGet('A','x')
# ## End(Not run)

Run the code above in your browser using DataLab