An instance of this class represents one SQLite3 database.
Synopsis
Declared in <wallet/sqlite.h>
class SQLiteDatabase
: public WalletDatabase
Base Classes
Name |
Description |
An instance of this class represents one database. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy the handle and clean up the SQLite connection. |
Back up the entire database to a file. |
|
|
Close the database |
|
Return the name of the database file. |
|
Return paths to all database created files |
|
Return the name of this database's storage format. |
Return true if there is an on‐going txn in this connection |
|
|
Make a SQLiteBatch connected to this database |
|
Open the database if it is not already opened |
|
Rewrite the entire database on disk |
Check the integrity of the database. |
Data Members
Name |
Description |
The underlying SQLite database connection. |
|
Counts the number of active database users to be sure that the database is not closed while someone is using it |
|
Whether to use unsafe synchronous settings for faster, less durable writes. |
|
Semaphore ensuring only one batch writes to the database at a time. |
Protected Member Functions
Name |
Description |
|
Construct a database handle with extra SQLite open flags. |
Friends
Name |
Description |
RAII class that provides access to a WalletDatabase |
Non-Member Functions
Name |
Description |
Open or create a SQLite wallet database at the given path. |
|
Executes the provided function 'func' within a database transaction context. |
Derived Classes
Name |
Description |
An in‐memory SQLiteDatabase. Used as a temporary build artifact where no on‐disk persistence is needed. |
Created with MrDocs