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

Method ZRangeArgs

sortedset_commands.go:441–448  ·  view source on GitHub ↗
(ctx context.Context, z ZRangeArgs)

Source from the content-addressed store, hash-verified

439}
440
441func (c cmdable) ZRangeArgs(ctx context.Context, z ZRangeArgs) *StringSliceCmd {
442 args := make([]interface{}, 0, 9)
443 args = append(args, "zrange")
444 args = z.appendArgs(args)
445 cmd := NewStringSliceCmd(ctx, args...)
446 _ = c(ctx, cmd)
447 return cmd
448}
449
450func (c cmdable) ZRangeArgsWithScores(ctx context.Context, z ZRangeArgs) *ZSliceCmd {
451 args := make([]interface{}, 0, 10)

Callers 1

ZRangeMethod · 0.95

Calls 2

NewStringSliceCmdFunction · 0.85
appendArgsMethod · 0.45

Tested by

no test coverage detected