Learn R Programming

rredis (version 1.7.0)

redisMGet: Retrieve one or more values from Redis.

Description

Retrieve values corresponding to the specified list of keys.

Usage

redisMGet(keys, ...)

Arguments

keys
A vector or list of character strings corresponding to keys to retrieve.
...
Optional arguments. Specify raw=TRUE to skip de-serialization of the returned values.

Value

A list of retrieved key/value pairs. Missing values return NULL.

Details

Values are returned in a list with names corresponding to keys. The raw argument is used to retrieve binary data from other languages.

References

http://redis.io/commands

See Also

redisMSet

Examples

Run this code
## Not run: 
# redisSet('x',runif(5))
# redisSet('y',runif(5))
# redisMGet(c('x','y'))
# ## End(Not run)

Run the code above in your browser using DataLab