class Redis
def zrevrange(key, start, stop, withscores: false, with_scores: withscores)
- See: #zrange -
Other tags:
- Example: Retrieve all members and their scores from a sorted set -
Example: Retrieve all members from a sorted set -
def zrevrange(key, start, stop, withscores: false, with_scores: withscores) args = [:zrevrange, key, start, stop] if with_scores args << "WITHSCORES" block = FloatifyPairs end synchronize do |client| client.call(args, &block) end end