Function flush_redis

Source
pub async fn flush_redis(con: &mut ConnectionManager) -> Result<(), RedisError>
Expand description

Flushes the entire Redis database for the specified connection.

§Errors

Returns an error if the FLUSHDB command fails.