RAII class that provides access to a WalletDatabase.
More...
#include <sqlite.h>
RAII class that provides access to a WalletDatabase.
Definition at line 40 of file sqlite.h.
◆ SQLiteBatch()
◆ ~SQLiteBatch()
| wallet::SQLiteBatch::~SQLiteBatch |
( |
| ) |
|
|
inlineoverride |
◆ Close()
| void wallet::SQLiteBatch::Close |
( |
| ) |
|
|
overridevirtual |
◆ EraseKey()
| bool wallet::SQLiteBatch::EraseKey |
( |
DataStream && |
key | ) |
|
|
overrideprivatevirtual |
◆ ErasePrefix()
| bool wallet::SQLiteBatch::ErasePrefix |
( |
Span< const std::byte > |
prefix | ) |
|
|
overrideprivatevirtual |
◆ ExecStatement()
| bool wallet::SQLiteBatch::ExecStatement |
( |
sqlite3_stmt * |
stmt, |
|
|
Span< const std::byte > |
blob |
|
) |
| |
|
private |
◆ Flush()
| void wallet::SQLiteBatch::Flush |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetNewCursor()
| std::unique_ptr< DatabaseCursor > wallet::SQLiteBatch::GetNewCursor |
( |
| ) |
|
|
overridevirtual |
◆ GetNewPrefixCursor()
| std::unique_ptr< DatabaseCursor > wallet::SQLiteBatch::GetNewPrefixCursor |
( |
Span< const std::byte > |
prefix | ) |
|
|
overridevirtual |
◆ HasKey()
| bool wallet::SQLiteBatch::HasKey |
( |
DataStream && |
key | ) |
|
|
overrideprivatevirtual |
◆ ReadKey()
◆ SetupSQLStatements()
| void wallet::SQLiteBatch::SetupSQLStatements |
( |
| ) |
|
|
private |
◆ TxnAbort()
| bool wallet::SQLiteBatch::TxnAbort |
( |
| ) |
|
|
overridevirtual |
◆ TxnBegin()
| bool wallet::SQLiteBatch::TxnBegin |
( |
| ) |
|
|
overridevirtual |
◆ TxnCommit()
| bool wallet::SQLiteBatch::TxnCommit |
( |
| ) |
|
|
overridevirtual |
◆ WriteKey()
| bool wallet::SQLiteBatch::WriteKey |
( |
DataStream && |
key, |
|
|
DataStream && |
value, |
|
|
bool |
overwrite = true |
|
) |
| |
|
overrideprivatevirtual |
◆ m_database
◆ m_delete_prefix_stmt
| sqlite3_stmt* wallet::SQLiteBatch::m_delete_prefix_stmt {nullptr} |
|
private |
◆ m_delete_stmt
| sqlite3_stmt* wallet::SQLiteBatch::m_delete_stmt {nullptr} |
|
private |
◆ m_insert_stmt
| sqlite3_stmt* wallet::SQLiteBatch::m_insert_stmt {nullptr} |
|
private |
◆ m_overwrite_stmt
| sqlite3_stmt* wallet::SQLiteBatch::m_overwrite_stmt {nullptr} |
|
private |
◆ m_read_stmt
| sqlite3_stmt* wallet::SQLiteBatch::m_read_stmt {nullptr} |
|
private |
The documentation for this class was generated from the following files: