Method: Redis#zincrby

Defined in:
lib/redis.rb

#zincrby(key, increment, member) ⇒ Float

Increment the score of a member in a sorted set.

Examples:

redis.zincrby("zset", 32.0, "a")
  # => 64.0


1546
1547
1548
1549
1550
# File 'lib/redis.rb', line 1546

def zincrby(key, increment, member)
  synchronize do |client|
    client.call([:zincrby, key, increment, member], &Floatify)
  end
end