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

Method XTrimMaxLenMode

stream_commands.go:69–69  ·  view source on GitHub ↗
(ctx context.Context, key string, maxLen int64, mode string)

Source from the content-addressed store, hash-verified

67 XTrimMaxLen(ctx context.Context, key string, maxLen int64) *IntCmd
68 XTrimMaxLenApprox(ctx context.Context, key string, maxLen, limit int64) *IntCmd
69 XTrimMaxLenMode(ctx context.Context, key string, maxLen int64, mode string) *IntCmd
70 XTrimMaxLenApproxMode(ctx context.Context, key string, maxLen, limit int64, mode string) *IntCmd
71 XTrimMinID(ctx context.Context, key string, minID string) *IntCmd
72 XTrimMinIDApprox(ctx context.Context, key string, minID string, limit int64) *IntCmd

Callers 2

commands_test.goFile · 0.65
TestXTrim_LimitArgsFunction · 0.65

Calls

no outgoing calls

Tested by 1

TestXTrim_LimitArgsFunction · 0.52