#### /man/redisDecr.Rd

http://github.com/bwlewis/rredis
Unknown | 38 lines | 36 code | 2 blank | 0 comment | 0 complexity | eaa29adcbd7e2dedbe033aa083da1e53 MD5 | raw file
 1\name{redisDecr}
2\alias{redisDecr}
3\title{Decrement a value by one.}
4\description{Decrement the value corresponding to the specified key by one.
5}
6\usage{
7redisDecr(key)
8}
9\arguments{
10  \item{key}{A key corresponding to the value to decrement.
11}
12}
13\details{
14The value should be a character representation of an integer.
15If the key does not exist or contains a value of a wrong type, set the
16key to the value of "0" before to perform the operation.
17}
18\value{
19The new value of key after the decrement, returned as a character
20string.
21}
22\references{
23http://redis.io/commands
24}
25\author{
26B. W. Lewis
27}
28
29\seealso{