MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / zrangebylexCommand

Function zrangebylexCommand

src/t_zset.cpp:3547–3551  ·  view source on GitHub ↗

ZRANGEBYLEX [LIMIT offset count] */

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

zrangeResultHandlerInitFunction · 0.85
zrangeGenericCommandFunction · 0.85

Tested by

no test coverage detected