[#wallet-DatabaseBatch-GetNewCursor] = xref:wallet.adoc[wallet]::xref:wallet/DatabaseBatch.adoc[DatabaseBatch]::GetNewCursor :relfileprefix: ../../ :mrdocs: Returns a cursor over all records in the database. == Synopsis Declared in `<wallet/db.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::unique_ptr<DatabaseCursor> GetNewCursor() = 0; ---- == Return Value A new cursor. [.small]#Created with https://www.mrdocs.com[MrDocs]#