[#wallet-SQLiteDatabase-2constructor-0c]
= xref:wallet.adoc[wallet]::xref:wallet/SQLiteDatabase.adoc[SQLiteDatabase]::SQLiteDatabase
:relfileprefix: ../../
:mrdocs:

Construct a database handle with extra SQLite open flags&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
SQLiteDatabase(
    xref:fs/path.adoc[fs::path] const& dir&lowbar;path,
    xref:fs/path.adoc[fs::path] const& file&lowbar;path,
    xref:wallet/DatabaseOptions.adoc[DatabaseOptions] const& options,
    int additional&lowbar;flags);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dir&lowbar;path*
| Directory containing the database file&period;
| *file&lowbar;path*
| Name of the database file within the directory&period;
| *options*
| Options controlling how the database is opened&period;
| *additional&lowbar;flags*
| Extra flags passed to SQLite when opening&period;
|===


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