Method: Redis#hincrby
- Defined in:
- lib/redis.rb
#hincrby(key, field, increment) ⇒ Fixnum
Increment the integer value of a hash field by the given integer number.
2034 2035 2036 2037 2038 |
# File 'lib/redis.rb', line 2034 def hincrby(key, field, increment) synchronize do |client| client.call([:hincrby, key, field, increment]) end end |