[#wallet-DatabaseBatch-GetNewPrefixCursor] = xref:wallet.adoc[wallet]::xref:wallet/DatabaseBatch.adoc[DatabaseBatch]::GetNewPrefixCursor :relfileprefix: ../../ :mrdocs: Returns a cursor over records whose key begins with the given prefix. == Synopsis Declared in `<wallet/db.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::unique_ptr<DatabaseCursor> GetNewPrefixCursor(std::span<std::byte const> prefix) = 0; ---- == Return Value A new cursor. == Parameters [cols="1,4"] |=== | Name| Description | *prefix* | The key prefix to match. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#