wallet::BerkeleyROBatch

RAII class that provides access to a BerkeleyRODatabase

Synopsis

Declared in <wallet/migrate.h>

class BerkeleyROBatch
    : public DatabaseBatch

Base Classes

NameDescription
DatabaseBatchRAII class that provides access to a WalletDatabase

Member Functions

NameDescription
BerkeleyROBatch [constructor]Constructors
~BerkeleyROBatch [destructor] [virtual]Destroy the batch.
operator= Assignment operators
Close [virtual]Close the batch. No-op for this read-only 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]Get a cursor iterating over all records in the database.
GetNewPrefixCursor [virtual]Get a cursor iterating over records whose key starts with a prefix.
HasActiveTxn [virtual]Report whether a database transaction is active.
Read Reads the value stored under a key.
TxnAbort [virtual]Abort the current database transaction.
TxnBegin [virtual]Begin a database transaction.
TxnCommit [virtual]Commit the current database transaction.
Write Writes a value under a key.