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

Method FlushDB

commands.go:209–209  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

207 FlushAll(ctx context.Context) *StatusCmd
208 FlushAllAsync(ctx context.Context) *StatusCmd
209 FlushDB(ctx context.Context) *StatusCmd
210 FlushDBAsync(ctx context.Context) *StatusCmd
211 Info(ctx context.Context, section ...string) *StringCmd
212 LastSave(ctx context.Context) *IntCmd

Callers 15

monitor_test.goFile · 0.65
TestMonitorCommandFunction · 0.65
tx_unwatch_test.goFile · 0.65
pubsub_test.goFile · 0.65
pipeline_test.goFile · 0.65
sentinel_test.goFile · 0.65
ring_test.goFile · 0.65
iterator_test.goFile · 0.65
commands_test.goFile · 0.65

Calls

no outgoing calls

Tested by 15

TestMonitorCommandFunction · 0.52
benchmarkRedisClientFunction · 0.52
ExampleClient_ScanFunction · 0.52
ExampleClient_ScanTypeFunction · 0.52
ExampleSliceCmd_ScanFunction · 0.52
BenchmarkHSETFunction · 0.52
BenchmarkHSETPipelinedFunction · 0.52
BenchmarkHSET_ConcurrentFunction · 0.52
BenchmarkHSET_RESP2Function · 0.52