ZPOPMIN key [ ] */
| 3921 | |
| 3922 | /* ZPOPMIN key [<count>] */ |
| 3923 | void zpopminCommand(client *c) { |
| 3924 | if (c->argc > 3) { |
| 3925 | addReplyErrorObject(c,shared.syntaxerr); |
| 3926 | return; |
| 3927 | } |
| 3928 | genericZpopCommand(c,&c->argv[1],1,ZSET_MIN,0, |
| 3929 | c->argc == 3 ? c->argv[2] : NULL); |
| 3930 | } |
| 3931 | |
| 3932 | /* ZMAXPOP key [<count>] */ |
| 3933 | void zpopmaxCommand(client *c) { |
nothing calls this directly
no test coverage detected