[#wallet-BerkeleyRODatabase-Close]
= xref:wallet.adoc[wallet]::xref:wallet/BerkeleyRODatabase.adoc[BerkeleyRODatabase]::Close
:relfileprefix: ../../
:mrdocs:

Flush to the database file and close the database&period; Also close the environment if no other databases are open in it&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
Close() override;
----


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