Erase all records whose key starts with a prefix.

Synopsis

Declared in <wallet/sqlite.h>

virtual
bool
ErasePrefix(std::span<std::byte const> prefix) override;

Return Value

True if the erase succeeded, false otherwise.

Parameters

Name

Description

prefix

The key prefix identifying the records to erase.

Created with MrDocs