Bitcoin Core 28.99.0
P2P Digital Currency
|
RAII class that provides a database cursor. More...
#include <sqlite.h>
Public Member Functions | |
SQLiteCursor ()=default | |
SQLiteCursor (std::vector< std::byte > start_range, std::vector< std::byte > end_range) | |
~SQLiteCursor () override | |
Status | Next (DataStream &key, DataStream &value) override |
Public Member Functions inherited from wallet::DatabaseCursor | |
DatabaseCursor ()=default | |
virtual | ~DatabaseCursor ()=default |
DatabaseCursor (const DatabaseCursor &)=delete | |
DatabaseCursor & | operator= (const DatabaseCursor &)=delete |
virtual Status | Next (DataStream &key, DataStream &value) |
Public Attributes | |
sqlite3_stmt * | m_cursor_stmt {nullptr} |
std::vector< std::byte > | m_prefix_range_start |
std::vector< std::byte > | m_prefix_range_end |
Additional Inherited Members | |
Public Types inherited from wallet::DatabaseCursor | |
enum class | Status { FAIL , MORE , DONE } |
|
explicitdefault |
|
inlineexplicit |
|
override |
Definition at line 583 of file sqlite.cpp.
|
overridevirtual |
Reimplemented from wallet::DatabaseCursor.
Definition at line 563 of file sqlite.cpp.
std::vector<std::byte> wallet::SQLiteCursor::m_prefix_range_end |
std::vector<std::byte> wallet::SQLiteCursor::m_prefix_range_start |