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

Function zrangebylexCommand

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

ZRANGEBYLEX [LIMIT offset count] */

Source from the content-addressed store, hash-verified

3546
3547/* ZRANGEBYLEX <key> <min> <max> [LIMIT offset count] */
3548void zrangebylexCommand(client *c) {
3549 zrange_result_handler handler;
3550 zrangeResultHandlerInit(&handler, c, ZRANGE_CONSUMER_TYPE_CLIENT);
3551 zrangeGenericCommand(&handler, 1, 0, ZRANGE_LEX, ZRANGE_DIRECTION_FORWARD);
3552}
3553
3554/* ZREVRANGEBYLEX <key> <min> <max> [LIMIT offset count] */
3555void zrevrangebylexCommand(client *c) {

Callers

nothing calls this directly

Calls 2

zrangeResultHandlerInitFunction · 0.85
zrangeGenericCommandFunction · 0.85

Tested by

no test coverage detected