0
results=$redis.zrevrangebyscore(key(:feed), "(#{max}", "-inf", :limit => [0, limit], :with_scores => scores)
results=$redis.zrevrange key(:feed), 0, count
將這些會是什麼樣Redis的-CLI命令行?
results=$redis.zrevrangebyscore(key(:feed), "(#{max}", "-inf", :limit => [0, limit], :with_scores => scores)
results=$redis.zrevrange key(:feed), 0, count
將這些會是什麼樣Redis的-CLI命令行?
ZREVRANGEBYSCORE 'key(feed)' 'max' -inf WITHSCORES limit 0 'limit'
ZREVRANGE 'key(feed)' 0 'count'