[#CDBWrapper-WriteBatch] = xref:CDBWrapper.adoc[CDBWrapper]::WriteBatch :relfileprefix: ../ :mrdocs: Atomically applies all writes and erases queued in a batch. == Synopsis Declared in `<dbwrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void WriteBatch( xref:CDBBatch.adoc[CDBBatch]& batch, bool fSync = false); ---- == Parameters [cols="1,4"] |=== | Name| Description | *batch* | The batch of changes to apply. | *fSync* | If true, flush the changes to disk before returning. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#