MCPcopy Create free account
hub / github.com/F-Stack/f-stack / zrevrangebyscoreCommand

Function zrevrangebyscoreCommand

app/redis-6.2.6/src/t_zset.c:3270–3274  ·  view source on GitHub ↗

ZREVRANGEBYSCORE [WITHSCORES] [LIMIT offset count] */

Source from the content-addressed store, hash-verified

3268
3269/* ZREVRANGEBYSCORE <key> <min> <max> [WITHSCORES] [LIMIT offset count] */
3270void zrevrangebyscoreCommand(client *c) {
3271 zrange_result_handler handler;
3272 zrangeResultHandlerInit(&handler, c, ZRANGE_CONSUMER_TYPE_CLIENT);
3273 zrangeGenericCommand(&handler, 1, 0, ZRANGE_SCORE, ZRANGE_DIRECTION_REVERSE);
3274}
3275
3276void zcountCommand(client *c) {
3277 robj *key = c->argv[1];

Callers

nothing calls this directly

Calls 2

zrangeResultHandlerInitFunction · 0.85
zrangeGenericCommandFunction · 0.85

Tested by

no test coverage detected