RedisZLexBound

public enum RedisZLexBound<Value> where Value : CustomStringConvertible
extension RedisZLexBound: CustomStringConvertible

Represents a range bound for use with the Redis SortedSet lexiographical commands to compare values.

Cases must be explicitly declared, with wrapped values conforming to CustomStringConvertible.

The cases .negativeInfinity and .positiveInfinity represent the special characters in Redis of - and + respectively. These are constants for absolute lower and upper value bounds that are always treated as inclusive.

See https://redis.io/commands/zrangebylex#details-on-strings-comparison