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

Function zrangebyscoreCommand

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

ZRANGEBYSCORE [WITHSCORES] [LIMIT offset count] */

Source from the content-addressed store, hash-verified

3261
3262/* ZRANGEBYSCORE <key> <min> <max> [WITHSCORES] [LIMIT offset count] */
3263void zrangebyscoreCommand(client *c) {
3264 zrange_result_handler handler;
3265 zrangeResultHandlerInit(&handler, c, ZRANGE_CONSUMER_TYPE_CLIENT);
3266 zrangeGenericCommand(&handler, 1, 0, ZRANGE_SCORE, ZRANGE_DIRECTION_FORWARD);
3267}
3268
3269/* ZREVRANGEBYSCORE <key> <min> <max> [WITHSCORES] [LIMIT offset count] */
3270void zrevrangebyscoreCommand(client *c) {

Callers

nothing calls this directly

Calls 2

zrangeResultHandlerInitFunction · 0.85
zrangeGenericCommandFunction · 0.85

Tested by

no test coverage detected