wallet::SQLiteCursor

RAII class that provides a database cursor

Synopsis

Declared in <wallet/sqlite.h>

class SQLiteCursor
    : public DatabaseCursor

Base Classes

NameDescription
DatabaseCursorIterates over records stored in a wallet database.

Enums

NameDescription
Status Result of advancing the cursor.

Member Functions

NameDescription
SQLiteCursor [constructor]Constructors
~SQLiteCursor [destructor] [virtual]Destroy the cursor and finalize its prepared statement.
operator= [deleted]Cursors are non-copyable.
Next [virtual]Read the next record from the cursor.

Data Members

NameDescription
m_cursor_stmt The prepared statement backing this cursor.
m_prefix_range_end Exclusive upper bound of the key prefix range for a prefix cursor.
m_prefix_range_start Inclusive lower bound of the key prefix range for a prefix cursor.