Removes the value stored under the given key.

Synopsis

Declared in <dbwrapper.h>

template<typename K>
void
Erase(
    K const& key,
    bool fSync = false);

Parameters

Name

Description

key

The key to erase.

fSync

If true, flush the erase to disk before returning.

Created with MrDocs