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

Function RM_ZsetLastInScoreRange

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

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

Source from the content-addressed store, hash-verified

2822/* Exactly like RedisModule_ZsetFirstInScoreRange() but the last element of
2823 * the range is selected for the start of the iteration instead. */
2824int RM_ZsetLastInScoreRange(RedisModuleKey *key, double min, double max, int minex, int maxex) {
2825 return zsetInitScoreRange(key,min,max,minex,maxex,0);
2826}
2827
2828/* Helper function for RM_ZsetFirstInLexRange() and RM_ZsetLastInLexRange().
2829 * Setup the sorted set iteration according to the specified lexicographical

Callers

nothing calls this directly

Calls 1

zsetInitScoreRangeFunction · 0.85

Tested by

no test coverage detected