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