/man/redisHFields.Rd
http://github.com/bwlewis/rredis · Unknown · 27 lines · 27 code · 0 blank · 0 comment · 0 complexity · 651586a3c3c5305f6bb5a0b9bbc54faf MD5 · raw file
- \name{redisHFields}
- \alias{redisHFields}
- \title{Redis hash fields.}
- \description{Return the fields associated with the given key.}
- \usage{
- redisHFields(key, ...)
- }
- \arguments{
- \item{key}{The key to look up.}
- \item{...}{ Optional additional arguments. Specify \code{raw=TRUE} to skip de-serialization of the data.}
- }
- \details{Returns the fields in the Redis hash
- associated with \code{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.
- }
- \value{A list of fields defined for the given key. }
- \references{ http://redis.io/commands}
- \author{ B. W. Lewis }
- \seealso{ \code{\link{redisHSet}} }
- \examples{
- \dontrun{
- redisHMSet('A',list(x=1,y=2,z=3))
- redisHFields('A')
- }
- }