Learn R Programming

rredis (version 1.7.0)

redisHFields: Redis hash fields.

Description

Return the fields associated with the given key.

Usage

redisHFields(key, ...)

Arguments

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

Value

Details

Returns the fields 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.

References

http://redis.io/commands

See Also

redisHSet

Examples

Run this code
## Not run: 
# redisHMSet('A',list(x=1,y=2,z=3))
# redisHFields('A')
# ## End(Not run)

Run the code above in your browser using DataLab