wallet::SQLiteDatabase::SQLiteDatabase

Construct a database handle with extra SQLite open flags.

Synopsis

Declared in <wallet/sqlite.h>

SQLiteDatabase(
    fs::path const& dir_path,
    fs::path const& file_path,
    DatabaseOptions const& options,
    int additional_flags);

Parameters

NameDescription
dir_pathDirectory containing the database file.
file_pathName of the database file within the directory.
optionsOptions controlling how the database is opened.
additional_flagsExtra flags passed to SQLite when opening.