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

Method XTrimMaxLenApprox

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

Source from the content-addressed store, hash-verified

66 XAutoClaimJustID(ctx context.Context, a *XAutoClaimArgs) *XAutoClaimJustIDCmd
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

Callers 3

commands_test.goFile · 0.65
TestXTrim_LimitArgsFunction · 0.65
ExampleClient_raceitalyFunction · 0.65

Calls

no outgoing calls

Tested by 2

TestXTrim_LimitArgsFunction · 0.52
ExampleClient_raceitalyFunction · 0.52