[#CDBWrapper-Write] = xref:CDBWrapper.adoc[CDBWrapper]::Write :relfileprefix: ../ :mrdocs: Writes a single key‐value pair to the database. == Synopsis Declared in `<dbwrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename K, typename V> void Write( K const& key, V const& value, bool fSync = false); ---- == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#