results=$redis.zrevrangebyscore(key(:feed), "(#{max}", "-inf", :limit => [0, limit], :with_scores => scores)
和
results=$redis.zrevrange key(:feed), 0, count
在redis-cli命令行中它们会是什么样的?
答案 0 :(得分:0)
ZREVRANGEBYSCORE 'key(feed)' 'max' -inf WITHSCORES limit 0 'limit'
ZREVRANGE 'key(feed)' 0 'count'