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

Method SetIFDEQ

string_commands.go:40–40  ·  view source on GitHub ↗
(ctx context.Context, key string, value interface{}, matchDigest uint64, expiration time.Duration)

Source from the content-addressed store, hash-verified

38 SetIFNE(ctx context.Context, key string, value interface{}, matchValue interface{}, expiration time.Duration) *StatusCmd
39 SetIFNEGet(ctx context.Context, key string, value interface{}, matchValue interface{}, expiration time.Duration) *StringCmd
40 SetIFDEQ(ctx context.Context, key string, value interface{}, matchDigest uint64, expiration time.Duration) *StatusCmd
41 SetIFDEQGet(ctx context.Context, key string, value interface{}, matchDigest uint64, expiration time.Duration) *StringCmd
42 SetIFDNE(ctx context.Context, key string, value interface{}, matchDigest uint64, expiration time.Duration) *StatusCmd
43 SetIFDNEGet(ctx context.Context, key string, value interface{}, matchDigest uint64, expiration time.Duration) *StringCmd

Callers 5

TestSetIFDEQWithDigestFunction · 0.65
commands_test.goFile · 0.65
optimisticLockingExampleFunction · 0.65
clientSideDigestExampleFunction · 0.65

Calls

no outgoing calls

Tested by 2

TestSetIFDEQWithDigestFunction · 0.52