문제

In Python have function zrangebyscore:

[zrangebyscore(self, name, min, max, start=None, num=None,withscores=False, score_cast_func=float)]

I want to get all element in sort set have score > min and no have limit max how do this work?

도움이 되었습니까?

해결책

Specify min as required min score. Specify max as infinity.

You may want to know how to pass infinity to redis from python.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top