Construct a cursor over a database, optionally limited to keys with a given prefix.

Synopsis

Declared in <wallet/migrate.h>

explicit
BerkeleyROCursor(
    BerkeleyRODatabase const& database,
    std::span<std::byte const> prefix = {});

Parameters

Name

Description

database

The database to iterate over.

prefix

Only iterate over records whose key starts with this prefix.

Created with MrDocs