[#wallet-BerkeleyROCursor]
= xref:wallet.adoc[wallet]::BerkeleyROCursor
:relfileprefix: ../
:mrdocs:

Cursor that iterates over the records of a BerkeleyRODatabase&period;

== Synopsis

Declared in `&lt;wallet&sol;migrate&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class BerkeleyROCursor
    : public xref:wallet/DatabaseCursor.adoc[DatabaseCursor]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:wallet/DatabaseCursor.adoc[DatabaseCursor]`
| Iterates over records stored in a wallet database&period;
|===

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:wallet/DatabaseCursor/Status.adoc[`Status`] 
| Result of advancing the cursor&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:wallet/BerkeleyROCursor/2constructor.adoc[`BerkeleyROCursor`]         [.small]#[constructor]#
| Construct a cursor over a database, optionally limited to keys with a given prefix&period;
| xref:wallet/BerkeleyROCursor/2destructor.adoc[`&#126;BerkeleyROCursor`] [.small]#[destructor]# [.small]#[virtual]#
| Destroy the cursor&period;
| xref:wallet/DatabaseCursor/operator_assign.adoc[`operator&equals;`]  [.small]#[deleted]#
| Cursors are non&hyphen;copyable&period;
| xref:wallet/BerkeleyROCursor/Next.adoc[`Next`]  [.small]#[virtual]#
| Read the next record from the database&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
