Writes a single key-value pair to the database.
Declared in <dbwrapper.h>
template<
typename K,
typename V>
void
Write(
K const& key,
V const& value,
bool fSync = false);
| Name | Description |
|---|---|
| key | The key to write. |
| value | The value to associate with the key. |
| fSync | If true, flush the write to disk before returning. |