BinaryRedis.hincrBy

Increment the number stored at field in the hash at key by value. If key does not exist, a new key holding a hash is created. If field does not exist or holds a string, the value is set to 0 before applying the operation. Since the value argument is signed you can use this command to perform both increments and decrements. <p> The range of values supported by HINCRBY is limited to 64 bit signed integers. <p> <b>Time complexity:</b> O(1) @param key @param field @param value @return Integer reply The new value at field after the increment operation.

class BinaryRedis
Long
hincrBy
(
const(ubyte)[] key
,
const(ubyte)[] field
,
long value
)

Meta