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

Function RM_ZsetLastInLexRange

app/redis-6.2.6/src/module.c:2886–2888  ·  view source on GitHub ↗

Exactly like RedisModule_ZsetFirstInLexRange() but the last element of * the range is selected for the start of the iteration instead. */

Source from the content-addressed store, hash-verified

2884/* Exactly like RedisModule_ZsetFirstInLexRange() but the last element of
2885 * the range is selected for the start of the iteration instead. */
2886int RM_ZsetLastInLexRange(RedisModuleKey *key, RedisModuleString *min, RedisModuleString *max) {
2887 return zsetInitLexRange(key,min,max,0);
2888}
2889
2890/* Return the current sorted set element of an active sorted set iterator
2891 * or NULL if the range specified in the iterator does not include any

Callers

nothing calls this directly

Calls 1

zsetInitLexRangeFunction · 0.85

Tested by

no test coverage detected