Closed Jianghong-bgcg closed 3 months ago
zrange
in Redka does not support negative start
and stop
parameters when ranging by rank, so this is the expected result:
> zrange racer_scores 0 -1
(empty array)
> zrange racer_scores 0 -1 withscores
(empty array)
Crashing on WITHSCORES
is a bug, I'll fix it.
I'm using the 0.5 ver of redka, and when I play around with redis official doc, it seems
ZRANGE key 0 -1
doesn't work:Redka kills itself afterwards.
However if I run the ZRANGEBYSCORE command it does have value, meaning it's not my input that's corrupt