Redis ZUNIONSTORE Command Explained

In Redis, the ZUNIONSTORE command works in the same way that ZUNION works, except that it stores the result in a key that we specify.

In other words, it computes the union of the specified sorted sets, then stores the result in the specified key.

Read more

Redis ZREMRANGEBYLEX Command Explained

In Redis, the ZREMRANGEBYLEX command enables us to use a lexicographical range to remove members from a sorted set. That is, we can specify that all members between a given lexicographical range are removed.

This relies on all members having the same score (which forces lexicographical ordering).

Read more

Redis ZPOPMAX Command Explained

In Redis, the ZMPOPMAX command removes and returns (pops) members with the highest scores from the specified sorted set. By default it pops one member, but we can also specify how many members we want to pop.

Read more