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

Method ZCOUNT

sorted_sets.go:123–125  ·  view source on GitHub ↗
(key string, minScore, maxScore float64)

Source from the content-addressed store, hash-verified

121}
122
123func (c Client) ZCOUNT(key string, minScore, maxScore float64) (count int64, err error) {
124 return c.zGeneralCount(key, zScore{minScore}, zScore{maxScore}, c.skN)
125}
126
127func (c Client) zGeneralCount(key string, min rangeCap, max rangeCap, attribute string) (count int64, err error) {
128 builder := newExpresionBuilder()

Callers 1

TestZCountsFunction · 0.80

Calls 1

zGeneralCountMethod · 0.95

Tested by 1

TestZCountsFunction · 0.64