[#wallet-DatabaseBatch-Erase] = xref:wallet.adoc[wallet]::xref:wallet/DatabaseBatch.adoc[DatabaseBatch]::Erase :relfileprefix: ../../ :mrdocs: Erases the record stored under a key. == Synopsis Declared in `<wallet/db.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename K> bool Erase(K const& key); ---- == Return Value true if the record was erased. == Parameters [cols="1,4"] |=== | Name| Description | *key* | The key to erase. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#