redisMSet: Set one or more key/value pairs in the Redis database.

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

View source: R/strValCMD.R

Description

Set one or more key/value pairs in the Redis database.

Usage

1
redisMSet(keyvalues, NX = FALSE, ...)

Arguments

keyvalues

A list of values to set of the form list(key1=value1, key2=value2, ...)

NX

If NX = TRUE, existing values will not be replaced, otherwise they will be.

...

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

Details

Set one or more key/value pairs in the Redis database. Existing values will be replaced.

Value

“OK” upon success.

Author(s)

B. W. Lewis

References

http://redis.io/commands

See Also

redisGet

Examples

1
2
3
4
## Not run: 
redisMSet(list(x=5, y=6))

## End(Not run)

rredis documentation built on May 2, 2019, 2:02 p.m.