Setup a sorted set iterator seeking the first element in the specified * lexicographical 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. * 2. The lexicographical range 'min' and 'max' format is invalid. * * 'min' and 'max' sh
| 2966 | * The function does not take ownership of the objects, so they can be released |
| 2967 | * ASAP after the iterator is setup. */ |
| 2968 | int RM_ZsetFirstInLexRange(RedisModuleKey *key, RedisModuleString *min, RedisModuleString *max) { |
| 2969 | return zsetInitLexRange(key,min,max,1); |
| 2970 | } |
| 2971 | |
| 2972 | /* Exactly like RedisModule_ZsetFirstInLexRange() but the last element of |
| 2973 | * the range is selected for the start of the iteration instead. */ |
nothing calls this directly
no test coverage detected