redis
redis copied to clipboard
there is no ZCOUNT command
can count a sorted set by zcount key -inf +inf ?
Yes, you can do so with client.ZcountAll
(or provide custom min/max as floats to client.Zcount
). This can be seen in implementation here and I have opened a pull with appropriate tests for Zcount
and ZcountAll
in #43 .