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

Method ZCARD

sorted_sets.go:119–121  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

117}
118
119func (c Client) ZCARD(key string) (count int64, err error) {
120 return c.HLEN(key)
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)

Callers 4

TestGeoBasicsFunction · 0.80
TestZBasicFunction · 0.80
TestZPopsFunction · 0.80
TestZRangesFunction · 0.80

Calls 1

HLENMethod · 0.95

Tested by 4

TestGeoBasicsFunction · 0.64
TestZBasicFunction · 0.64
TestZPopsFunction · 0.64
TestZRangesFunction · 0.64