RedisSortedSetAggregateMethod

public enum RedisSortedSetAggregateMethod : String

The supported methods for aggregating results from the zunionstore or zinterstore commands in Redis.

For more information on these values, see https://redis.io/commands/zunionstore https://redis.io/commands/zinterstore

  • sum

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

    Declaration

    Swift

    case sum = "SUM"
  • min

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

    Declaration

    Swift

    case min = "MIN"
  • max

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

    Declaration

    Swift

    case max = "MAX"