在Python中,有函数zrangebyscore:
[zrangebyscore(self, name, min, max, start=None, num=None,withscores=False, score_cast_func=float)]
我想让排序集中的所有元素都有> 分钟的分数,没有最大限制这是如何工作的?
指定min
为所需的最小分数。将max
指定为无穷大。
你可能想知道如何将无穷大从python传递给redis。