zrevrange(
name: KeyT,
start: int,
end: int,
withscores: bool = False,
score_cast_func: Union[type, Callable] = float
) → ResponseT
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
No method signature available for this client.
zrevrange(
key: RedisKey,
start: number | string,
stop: number | string,
callback?: Callback<string[]>
) → Result<string[], Context>
zrevrange(
key: RedisKey,
start: number | string,
stop: number | string,
withscores: "WITHSCORES",
callback?: Callback<string[]>
) → Result<string[], Context>
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
zrevrange(
key: String,
start: long,
stop: long
) → List<String>
zrevrange(
key: K, // the key.
start: long, // the start.
stop: long // the stop.
) → List<V> // Long count of elements in the specified range.
zrevrange(
channel: ValueStreamingChannel<V>, // streaming channel that receives a call for every scored value.
key: K, // the key.
start: long, // the start.
stop: long // the stop.
) → Long // Long count of elements in the specified range.
zrevrange(
key: K, // the key.
start: long, // the start.
stop: long // the stop.
) → RedisFuture<List<V>> // Long count of elements in the specified range.
zrevrange(
channel: ValueStreamingChannel<V>, // streaming channel that receives a call for every scored value.
key: K, // the key.
start: long, // the start.
stop: long // the stop.
) → RedisFuture<Long> // Long count of elements in the specified range.
zrevrange(
key: K, // the key.
start: long, // the start.
stop: long // the stop.
) → Flux<V> // Long count of elements in the specified range. @deprecated since 6.0 in favor of consuming large results through the org.reactivestreams.Publisher returned by #zrevrange.
zrevrange(
channel: ValueStreamingChannel<V>, // streaming channel that receives a call for every scored value.
key: K, // the key.
start: long, // the start.
stop: long // the stop.
) → Mono<Long> // Long count of elements in the specified range. @deprecated since 6.0 in favor of consuming large results through the org.reactivestreams.Publisher returned by #zrevrange.
ZRevRange(
ctx: context.Context,
key: string,
start: Any,
stop: int64
) → *StringSliceCmd
Possible errors
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
SortedSetRangeByRank(
key: RedisKey, // The key of the sorted set.
start: long, // The start index to get.
stop: long, // The stop index to get.
order: Order, // The order to sort by (defaults to ascending).
flags: CommandFlags // The flags to use for this operation.
) → RedisValue[] // List of elements in the specified range.
SortedSetRangeByRankAsync(
key: RedisKey, // The key of the sorted set.
start: long, // The start index to get.
stop: long, // The stop index to get.
order: Order, // The order to sort by (defaults to ascending).
flags: CommandFlags // The flags to use for this operation.
) → Task<RedisValue[]> // List of elements in the specified range.
zrevrange(
$key: string,
$start: int|string,
$stop: int|string,
$options: ?array
) → array
zrevrange(
key: String,
start: Integer,
stop: Integer,
with_scores: Boolean // include scores in output
) → Array<String>, Array<[String, Float]>
zrevrange(
key: K,
start: isize,
stop: isize
) → (Vec<String>)
zrevrange_withscores(
key: K,
start: isize,
stop: isize
) → (Vec<String>)
Possible errors
- ERR syntax error:
ErrorKind::Server(ServerErrorKind::ResponseError)
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.
zrevrange(
key: K,
start: isize,
stop: isize
) → (Vec<String>)
zrevrange_withscores(
key: K,
start: isize,
stop: isize
) → (Vec<String>)
Possible errors
- ERR syntax error:
ErrorKind::Server(ServerErrorKind::ResponseError)
See Redis error messages for what each error means. Other errors, such as connection errors, aren't listed.