[#CDBWrapper-Erase]
= xref:CDBWrapper.adoc[CDBWrapper]::Erase
:relfileprefix: ../
:mrdocs:

Removes the value stored under the given key&period;

== Synopsis

Declared in `&lt;dbwrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename K&gt;
void
Erase(
    K const& key,
    bool fSync = false);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| The key to erase&period;
| *fSync*
| If true, flush the erase to disk before returning&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
