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
-
Undocumented
Declaration
Swift
case inclusive(Value)
-
Undocumented
Declaration
Swift
case exclusive(Value)
-
Undocumented
Declaration
Swift
case positiveInfinity
-
Undocumented
Declaration
Swift
case negativeInfinity
-
Declaration
Swift
public var description: String { get }
-
Undocumented
Declaration
Swift
public var description: String { get }