Redis.zrevrangebyscore was wrong
ZengYuQin opened this issue · 0 comments
ZengYuQin commented
Describe the bug
In the function zrevrangebyscore.
pieces: List[EncodableT] = ["ZREVRANGEBYSCORE", name, min, max]
must modify:
pieces: List[EncodableT] = ["ZREVRANGEBYSCORE", name, max, min]
To Reproduce
In the function zrevrangebyscore
pieces: List[EncodableT] = ["ZREVRANGEBYSCORE", name, min, max]
must modify:
pieces: List[EncodableT] = ["ZREVRANGEBYSCORE", name, max, min]
Expected behavior
In the function zrevrangebyscore
pieces: List[EncodableT] = ["ZREVRANGEBYSCORE", name, min, max]
must modify:
pieces: List[EncodableT] = ["ZREVRANGEBYSCORE", name, max, min]
Logs/tracebacks
In the function zrevrangebyscore
pieces: List[EncodableT] = ["ZREVRANGEBYSCORE", name, min, max]
must modify:
pieces: List[EncodableT] = ["ZREVRANGEBYSCORE", name, max, min]
Python Version
$ python --version
python 3.7.5
aioredis Version
$ python -m pip show aioredis
aioredis==2.0.1&aioredis==2.0.0
Additional context
No response
Code of Conduct
- I agree to follow the aio-libs Code of Conduct