RAII class that provides access to a WalletDatabase
Synopsis
Declared in <wallet/sqlite.h>
class SQLiteBatch
: public DatabaseBatch
Base Classes
Name |
Description |
RAII class that provides access to a WalletDatabase |
Member Functions
Name |
Description |
|
Construct a batch connected to the given database. |
|
Destroy the batch, closing it first. |
|
Batches are non‐copyable. |
|
Close the batch and finalize its prepared statements. |
Erases the record stored under a key. |
|
|
Erases all records whose key begins with the given prefix. |
Returns whether a record exists for a key. |
|
|
Get a cursor iterating over all records in the database. |
|
Get a cursor iterating over records whose key starts with a prefix. |
|
Report whether this batch has started a transaction. |
Reads the value stored under a key. |
|
Replace the handler used to execute SQL statements for this batch. |
|
|
Abort the current database transaction. |
|
Begin a database transaction. |
|
Commit the current database transaction. |
Writes a value under a key. |
Protected Member Functions
Name |
Description |
|
Erase the record stored under a key. |
|
Erase all records whose key starts with a prefix. |
|
Report whether a key exists in the database. |
|
Read the value stored under a key. |
|
Write a value under a key. |
Created with MrDocs