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

Function zrevrangebylexCommand

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

ZREVRANGEBYLEX [LIMIT offset count] */

Source from the content-addressed store, hash-verified

3553
3554/* ZREVRANGEBYLEX <key> <min> <max> [LIMIT offset count] */
3555void zrevrangebylexCommand(client *c) {
3556 zrange_result_handler handler;
3557 zrangeResultHandlerInit(&handler, c, ZRANGE_CONSUMER_TYPE_CLIENT);
3558 zrangeGenericCommand(&handler, 1, 0, ZRANGE_LEX, ZRANGE_DIRECTION_REVERSE);
3559}
3560
3561/**
3562 * This function handles ZRANGE and ZRANGESTORE, and also the deprecated

Callers

nothing calls this directly

Calls 2

zrangeResultHandlerInitFunction · 0.85
zrangeGenericCommandFunction · 0.85

Tested by

no test coverage detected