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

Erases the record stored under a key&period;

== Synopsis

Declared in `&lt;wallet&sol;db&period;h&gt;`

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

== Return Value

true if the record was erased&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| The key to erase&period;
|===


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