class Redis
def zcount(key, min, max)
-
(Fixnum)
- number of members in within the specified range
Parameters:
-
max
(String
) -- -
min
(String
) -- -
key
(String
) --
Other tags:
- Example: Count members with scores `> 5` -
Example: Count members with score `>= 5` and `< 100` -
def zcount(key, min, max) synchronize do |client| client.call([:zcount, key, min, max]) end end