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

redisHMGet

Retrieve a list of hash values.


Description

Retrieve a list of hash values from specified key/field pairs at once.

Usage

redisHMGet(key, fields, ...)

Arguments

key

The (required) character identifier for the key name.

fields

An R string vector of hash fields to retrieve.

...

Optional additional arguments. 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. The redisHMGet function retrieves several fields associated with one key at once. Fields not present return NULL.

Value

A named list of retrieved values.

Author(s)

B. W. Lewis

References

http://redis.io/commands

See Also

Examples

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

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