pub trait ServerCommands: CommandSend {
    fn flushdb(
        &self,
        flushing_mode: FlushingMode
    ) -> Pin<Box<dyn Future<Output = Result<()>> + '_>> { ... } fn flushall(
        &self,
        flushing_mode: FlushingMode
    ) -> Pin<Box<dyn Future<Output = Result<()>> + '_>> { ... } }
Expand description

A group of Redis commands related to Server Management

See Also

Redis Server Management Commands

Provided Methods

Delete all the keys of the currently selected DB.

See Also

https://redis.io/commands/flushdb/

Delete all the keys of all the existing databases, not just the currently selected one.

See Also

https://redis.io/commands/flushall/

Implementors