RAII class that provides a database cursor

Synopsis

Declared in <wallet/sqlite.h>

class SQLiteCursor
    : public DatabaseCursor

Base Classes

Name

Description

DatabaseCursor

Iterates over records stored in a wallet database.

Enums

Name

Description

Status

Result of advancing the cursor.

Member Functions

Name

Description

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

Name

Description

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.

Created with MrDocs