MCPcopy Create free account
hub / github.com/dbProjectRED/redimo.go / ZRANGE

Method ZRANGE

sorted_sets.go:263–265  ·  view source on GitHub ↗
(key string, start, stop int64)

Source from the content-addressed store, hash-verified

261}
262
263func (c Client) ZRANGE(key string, start, stop int64) (membersWithScores map[string]float64, err error) {
264 return c.zRange(key, start, stop, true)
265}
266
267func (c Client) zRange(key string, start int64, stop int64, forward bool) (membersWithScores map[string]float64, err error) {
268 if start < 0 && stop < 0 {

Callers 2

ZREMRANGEBYRANKMethod · 0.95
TestZRangesFunction · 0.80

Calls 1

zRangeMethod · 0.95

Tested by 1

TestZRangesFunction · 0.64