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

redisHMSet

Store a list of hash values.


Description

Store a list of hash values at once.

Usage

redisHMSet(key, values)

Arguments

key

The (required) character identifier for the key name.

values

An R list of values to be stored. The list names are used as field names and must be nonempty.

Details

Redis hash values store values in one or more fields associated with a single key name. The redisHMSet function stores several fields associated with one key at once. Values already occupying any specified field slots are replaced.

Value

TRUE is returned on success.

Author(s)

B. W. Lewis

References

http://redis.io/commands

See Also

Examples

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

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