This repository was archived by the owner on Feb 13, 2025. It is now read-only.
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
ZMPOP Documentation Example is Faulty #267
Open
Description
Here is the documentation page: https://redis.io/commands/zmpop
And here is the excerpt from the example:
ERR Unknown or disabled command 'ZMPOP'
redis> ZADD myzset 1 "one" 2 "two" 3 "three"
(integer) 3
redis> ZMPOP 1 myzset MIN
ERR Unknown or disabled command 'ZMPOP'
redis> ZRANGE myzset 0 -1 WITHSCORES
1) "one"
2) "1"
3) "two"
4) "2"
5) "three"
6) "3"
redis> ZMPOP 1 myzset MAX COUNT 10
ERR Unknown or disabled command 'ZMPOP'
redis> ZADD myzset2 4 "four" 5 "five" 6 "six"
(integer) 3
redis> ZMPOP 2 myzset myzset2 MIN COUNT 10
ERR Unknown or disabled command 'ZMPOP'
As it can be clearly seen ZMPOP
itself is not recognized as a command.
Metadata
Metadata
Assignees
Labels
No labels