Method: Redis::TimeSeries#incrby
- Defined in:
- lib/redis/time_series.rb
#incrby(value = 1, timestamp = nil, uncompressed: nil, chunk_size: nil) ⇒ Integer Also known as: increment
Increment the current value of the series.
346 347 348 349 350 351 352 353 |
# File 'lib/redis/time_series.rb', line 346 def incrby(value = 1, = nil, uncompressed: nil, chunk_size: nil) cmd 'TS.INCRBY', key, value, ( if ), ('UNCOMPRESSED' if uncompressed), (['CHUNK_SIZE', chunk_size] if chunk_size) end |