ZRevRange returns members in a sorted set within a range of indexes in reverse order. Deprecated: Use ZRangeArgs with Rev option instead as of Redis 6.2.0.
(ctx context.Context, key string, start, stop int64)
| 586 | // |
| 587 | // Deprecated: Use ZRangeArgs with Rev option instead as of Redis 6.2.0. |
| 588 | func (c cmdable) ZRevRange(ctx context.Context, key string, start, stop int64) *StringSliceCmd { |
| 589 | cmd := NewStringSliceCmd(ctx, "zrevrange", key, start, stop) |
| 590 | _ = c(ctx, cmd) |
| 591 | return cmd |
| 592 | } |
| 593 | |
| 594 | // ZRevRangeWithScores according to the Redis documentation, if member does not exist |
| 595 | // in the sorted set or key does not exist, it will return a redis.Nil error. |
nothing calls this directly
no test coverage detected