RAII class that provides access to a WalletDatabase
Synopsis
Declared in <wallet/db.h>
class DatabaseBatch;
Member Functions
Name |
Description |
|
Constructors |
|
Destroys the batch. |
|
Batches are non‐copyable. |
|
Closes the batch. |
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. |
|
|
Returns a cursor over all records in the database. |
|
Returns a cursor over records whose key begins with the given prefix. |
|
Returns whether a database transaction is currently active. |
Reads the value stored under a key. |
|
|
Aborts the current transaction. |
|
Begins a database transaction. |
|
Commits the current transaction. |
Writes a value under a key. |
Derived Classes
Name |
Description |
RAII class that provides access to a BerkeleyRODatabase |
|
RAII class that provides access to a WalletDatabase |
Created with MrDocs