RAII class that provides access to a BerkeleyRODatabase
Synopsis
Declared in <wallet/migrate.h>
class BerkeleyROBatch
: public DatabaseBatch
Base Classes
Name |
Description |
RAII class that provides access to a WalletDatabase |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy the batch. |
Assignment operators |
|
|
Close the batch. No‐op for this read‐only 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. |
|
|
Get a cursor iterating over all records in the database. |
|
Get a cursor iterating over records whose key starts with a prefix. |
|
Report whether a database transaction is active. |
Reads the value stored under a key. |
|
|
Abort the current database transaction. |
|
Begin a database transaction. |
|
Commit the current database transaction. |
Writes a value under a key. |
Created with MrDocs