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

RAII class that provides a database cursor

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class SQLiteCursor
    : 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/SQLiteCursor/2constructor-04f.adoc[`SQLiteCursor`]         [.small]#[constructor]#
| Constructors
| xref:wallet/SQLiteCursor/2destructor.adoc[`&#126;SQLiteCursor`] [.small]#[destructor]# [.small]#[virtual]#
| Destroy the cursor and finalize its prepared statement&period;
| xref:wallet/DatabaseCursor/operator_assign.adoc[`operator&equals;`]  [.small]#[deleted]#
| Cursors are non&hyphen;copyable&period;
| xref:wallet/SQLiteCursor/Next.adoc[`Next`]  [.small]#[virtual]#
| Read the next record from the cursor&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:wallet/SQLiteCursor/m_cursor_stmt.adoc[`m&lowbar;cursor&lowbar;stmt`] 
| The prepared statement backing this cursor&period;
| xref:wallet/SQLiteCursor/m_prefix_range_end.adoc[`m&lowbar;prefix&lowbar;range&lowbar;end`] 
| Exclusive upper bound of the key prefix range for a prefix cursor&period;
| xref:wallet/SQLiteCursor/m_prefix_range_start.adoc[`m&lowbar;prefix&lowbar;range&lowbar;start`] 
| Inclusive lower bound of the key prefix range for a prefix cursor&period;
|===



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