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

Method CFExists

probabilistic.go:599–604  ·  view source on GitHub ↗

CFExists determines whether an item may exist in the Cuckoo Filter or not. For more information - https://redis.io/commands/cf.exists/

(ctx context.Context, key string, element interface{})

Source from the content-addressed store, hash-verified

597// CFExists determines whether an item may exist in the Cuckoo Filter or not.
598// For more information - https://redis.io/commands/cf.exists/
599func (c cmdable) CFExists(ctx context.Context, key string, element interface{}) *BoolCmd {
600 args := []interface{}{"CF.EXISTS", key, element}
601 cmd := NewBoolCmd(ctx, args...)
602 _ = c(ctx, cmd)
603 return cmd
604}
605
606// CFLoadChunk restores a filter previously saved using SCANDUMP.
607// For more information - https://redis.io/commands/cf.loadchunk/

Callers

nothing calls this directly

Calls 1

NewBoolCmdFunction · 0.85

Tested by

no test coverage detected