[#wallet-SQLiteBatch-HasKey]
= xref:wallet.adoc[wallet]::xref:wallet/SQLiteBatch.adoc[SQLiteBatch]::HasKey
:relfileprefix: ../../
:mrdocs:

Report whether a key exists in the database&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
HasKey(xref:DataStream.adoc[DataStream]&& key) override;
----

== Return Value

True if the key exists, false otherwise&period;

== Parameters

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


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