Write a value under a key.

Synopsis

Declared in <wallet/sqlite.h>

virtual
bool
WriteKey(
    DataStream&& key,
    DataStream&& value,
    bool overwrite = true) override;

Return Value

True if the write succeeded, false otherwise.

Parameters

Name

Description

key

The key to write.

value

The value to store.

overwrite

Whether to overwrite an existing value for the key.

Created with MrDocs