MCPcopy
hub / github.com/redis/go-redis / ZCount

Method ZCount

sortedset_commands.go:213–217  ·  view source on GitHub ↗
(ctx context.Context, key, min, max string)

Source from the content-addressed store, hash-verified

211}
212
213func (c cmdable) ZCount(ctx context.Context, key, min, max string) *IntCmd {
214 cmd := NewIntCmd(ctx, "zcount", key, min, max)
215 _ = c(ctx, cmd)
216 return cmd
217}
218
219func (c cmdable) ZLexCount(ctx context.Context, key, min, max string) *IntCmd {
220 cmd := NewIntCmd(ctx, "zlexcount", key, min, max)

Callers

nothing calls this directly

Calls 1

NewIntCmdFunction · 0.85

Tested by

no test coverage detected