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.
1740 1741 1742 1743 1744 |
# File 'lib/redis.rb', line 1740 def zcount(key, min, max) synchronize do |client| client.call([:zcount, key, min, max]) end end |