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