MCPcopy
hub / github.com/redis/go-redis / ZRevRangeByScore

Method ZRevRangeByScore

sortedset_commands.go:620–622  ·  view source on GitHub ↗

ZRevRangeByScore returns members in a sorted set within a range of scores in reverse order. Deprecated: Use ZRangeArgs with Rev and ByScore options instead as of Redis 6.2.0.

(ctx context.Context, key string, opt *ZRangeBy)

Source from the content-addressed store, hash-verified

618//
619// Deprecated: Use ZRangeArgs with Rev and ByScore options instead as of Redis 6.2.0.
620func (c cmdable) ZRevRangeByScore(ctx context.Context, key string, opt *ZRangeBy) *StringSliceCmd {
621 return c.zRevRangeBy(ctx, "zrevrangebyscore", key, opt)
622}
623
624// ZRevRangeByLex returns members in a sorted set within a lexicographical range in reverse order.
625//

Callers

nothing calls this directly

Calls 1

zRevRangeByMethod · 0.95

Tested by

no test coverage detected