BinaryRedis.decrBy

DECRBY work just like {@link #decr(const(ubyte)[]) INCR} but instead to decrement by 1 the decrement is integer. <p> INCR commands are limited to 64 bit signed integers. <p> Note: this is actually a string operation, that is, in Redis there are not "integer" types. Simply the string stored at the key is parsed as a base 10 64 bit signed integer, incremented, and then converted back as a string. <p> Time complexity: O(1) @see #incr(const(ubyte)[]) @see #decr(const(ubyte)[]) @see #incrBy(const(ubyte)[], long) @param key @param decrement @return Integer reply, this commands will reply with the new value of key after the increment.

class BinaryRedis
Long
decrBy
(
const(ubyte)[] key
,)

Meta