ZREVRANGE [WITHSCORES] */
| 3134 | |
| 3135 | /* ZREVRANGE <key> <min> <max> [WITHSCORES] */ |
| 3136 | void zrevrangeCommand(client *c) { |
| 3137 | zrange_result_handler handler; |
| 3138 | zrangeResultHandlerInit(&handler, c, ZRANGE_CONSUMER_TYPE_CLIENT); |
| 3139 | zrangeGenericCommand(&handler, 1, 0, ZRANGE_RANK, ZRANGE_DIRECTION_REVERSE); |
| 3140 | } |
| 3141 | |
| 3142 | /* This command implements ZRANGEBYSCORE, ZREVRANGEBYSCORE. */ |
| 3143 | void genericZrangebyscoreCommand(zrange_result_handler *handler, |
nothing calls this directly
no test coverage detected