RAII class that provides access to a WalletDatabase
Declared in <wallet/db.h>
class DatabaseBatch;
| Name | Description |
|---|---|
DatabaseBatch [constructor] | Constructors |
~DatabaseBatch [destructor] [virtual] | Destroys the batch. |
operator= [deleted] | Batches are non-copyable. |
Close [virtual] | Closes the batch. |
Erase | Erases the record stored under a key. |
ErasePrefix [virtual] | Erases all records whose key begins with the given prefix. |
Exists | Returns whether a record exists for a key. |
GetNewCursor [virtual] | Returns a cursor over all records in the database. |
GetNewPrefixCursor [virtual] | Returns a cursor over records whose key begins with the given prefix. |
HasActiveTxn [virtual] | Returns whether a database transaction is currently active. |
Read | Reads the value stored under a key. |
TxnAbort [virtual] | Aborts the current transaction. |
TxnBegin [virtual] | Begins a database transaction. |
TxnCommit [virtual] | Commits the current transaction. |
Write | Writes a value under a key. |
| Name | Description |
|---|---|
BerkeleyROBatch | RAII class that provides access to a BerkeleyRODatabase |
SQLiteBatch | RAII class that provides access to a WalletDatabase |