redisHGet: Retrieve a hased value from Redis.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/hashCMD.R

Description

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

Usage

1
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.

Details

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

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.

Author(s)

B. W. Lewis

References

http://redis.io/commands

See Also

redisHSet

Examples

1
2
3
4
5
## Not run: 
redisHSet('A','x',runif(5))
redisHGet('A','x')

## End(Not run)

bwlewis/rredis documentation built on Jan. 3, 2022, 4:53 p.m.