pub trait ServerCommands: CommandSend {
    fn flushdb(&self, flushing_mode: FlushingMode) -> Future<'_, ()> { ... }
    fn flushall(&self, flushing_mode: FlushingMode) -> Future<'_, ()> { ... }
}
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