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.

  • sum

    Add the score of all matching elements in the source SortedSets.

    Declaration

    Swift

    public static let sum: RedisSortedSetAggregateMethod
  • min

    Use the minimum score of the matching elements in the source SortedSets.

    Declaration

    Swift

    public static let min: RedisSortedSetAggregateMethod
  • max

    Use the maximum score of the matching elements in the source SortedSets.

    Declaration

    Swift

    public static let max: RedisSortedSetAggregateMethod