is possible to, in sorted set, keep top x elements , remove others? know zremrangebyrank , zremrangebyscore couldn't figure out use these remove top x elements.
thanks
do mean like
zremrangebyrank set 0 -51
is possible to, in sorted set, keep top x elements , remove others? know zremrangebyrank , zremrangebyscore couldn't figure out use these remove top x elements.
thanks
do mean like
zremrangebyrank set 0 -51
Comments
Post a Comment