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
| 2904 | * where the min and max value are exclusive (not included) instead of |
| 2905 | * inclusive. */ |
| 2906 | int RM_ZsetFirstInScoreRange(RedisModuleKey *key, double min, double max, int minex, int maxex) { |
| 2907 | return zsetInitScoreRange(key,min,max,minex,maxex,1); |
| 2908 | } |
| 2909 | |
| 2910 | /* Exactly like RedisModule_ZsetFirstInScoreRange() but the last element of |
| 2911 | * the range is selected for the start of the iteration instead. */ |
nothing calls this directly
no test coverage detected