Setup a sorted set iterator seeking the first element in the specified * range. Returns REDISMODULE_OK if the iterator was correctly initialized * otherwise REDISMODULE_ERR is returned in the following conditions: * * 1. The value stored at key is not a sorted set or the key is empty. * * The range is specified according to the two double values 'min' and 'max'. * Both can be infinite using
| 2816 | * where the min and max value are exclusive (not included) instead of |
| 2817 | * inclusive. */ |
| 2818 | int RM_ZsetFirstInScoreRange(RedisModuleKey *key, double min, double max, int minex, int maxex) { |
| 2819 | return zsetInitScoreRange(key,min,max,minex,maxex,1); |
| 2820 | } |
| 2821 | |
| 2822 | /* Exactly like RedisModule_ZsetFirstInScoreRange() but the last element of |
| 2823 | * the range is selected for the start of the iteration instead. */ |
nothing calls this directly
no test coverage detected