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

Create DB handle

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
BerkeleyRODatabase(
    xref:fs/path.adoc[fs::path] const& filepath,
    bool open = true);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *filepath*
| Path to the BerkeleyDB file to read&period;
| *open*
| Whether to open and read the file immediately&period;
|===


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