RedisSortedSetAggregateMethod
public struct RedisSortedSetAggregateMethod
The supported methods for aggregating results from various Sorted Set algorithm commands in Redis.
See the documentation for each individual command that uses this object for more details.
-
Add the score of all matching elements in the source SortedSets.
Declaration
Swift
public static let sum: RedisSortedSetAggregateMethod
-
Use the minimum score of the matching elements in the source SortedSets.
Declaration
Swift
public static let min: RedisSortedSetAggregateMethod
-
Use the maximum score of the matching elements in the source SortedSets.
Declaration
Swift
public static let max: RedisSortedSetAggregateMethod