[][src]Function iredismodule::reset_dataset

pub fn reset_dataset(restart_aof: bool, async_: bool)

Performs similar operation to FLUSHALL, and optionally start a new AOF file (if enabled)

If restart_aof is true, you must make sure the command that triggered this call is not propagated to the AOF file. When async is set to true, db contents will be freed by a background thread.