Learn R Programming

rredis (version 1.7.0)

redisZRangeByScore: redisZRangeByScore

Description

Return the all the elements in the sorted set at key with a score between min and max (including elements with score equal to min or max).

Usage

redisZRangeByScore(key, min, max, offset = NULL, count = NULL,
                   withscores = FALSE, ...)

Arguments

key
The set name.
min
Minimum score.
max
Maximum score.
offset
Limit the results by excluding the first offset items. Requires also the use of count.
count
Limit the results to the first count items. Requires also the use of offset.
withscores
Also return the scores.
...
Optional additional arguments. Specify raw=TRUE to skip de-serialization of the data.

Value

  • See the Redis documentation for more information.

Details

The offset and count arguments must both be specified if used.

References

http://redis.io/commands