Method: Redis#zcount
- Defined in:
- lib/redis.rb
#zcount(key, min, max) ⇒ Fixnum
Count the members in a sorted set with scores within the given values.
1708 1709 1710 1711 1712 |
# File 'lib/redis.rb', line 1708 def zcount(key, min, max) synchronize do |client| client.call([:zcount, key, min, max]) end end |