Redis · Command
ZPOPMAX
ZPOPMAX removes and returns the highest-scoring members in a sorted set. It removes one member by default or up to the requested count.
Last updated
- Since
- 5.0.0
Syntax
ZPOPMAX key [count]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
BZPOPMAXBZPOPMINZADDZCARDZMPOPZPOPMINZRANGEZSCORE