Redis · Command
ZCOUNT
ZCOUNT counts members in a sorted set whose scores are within a given range. The range can include or exclude either endpoint.
Last updated
- Since
- 2.0.0
Syntax
ZCOUNT key min maxIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ZADDZCARDZRANGEBYSCOREZRANKZLEXCOUNTZREMRANGEBYSCORE