Module Hub Beta

CMS.INCRBY

key item value [item value ...]

Increments the count for item by value.

If key does not exist, the sketch is initialized using a default width of 2000 and a depth of 10 (the defaults provide an %0.01 error at a probability of %.01).

Return Value

Simple String: “OK”.

Examples

redis> CMS.INCRBY counter foo 1 bar 10 baz 42
OK

© 2017 Redis Labs, Inc. All rights reserved.