Method: Redis::Distributed#hincrby
- Defined in:
- lib/redis/distributed.rb
permalink #hincrby(key, field, increment) ⇒ Object
Increment the integer value of a hash field by the given integer number.
897 898 899 |
# File 'lib/redis/distributed.rb', line 897 def hincrby(key, field, increment) node_for(key).hincrby(key, field, increment) end |