Atomically applies all writes and erases queued in a batch.

Synopsis

Declared in <dbwrapper.h>

void
WriteBatch(
    CDBBatch& batch,
    bool fSync = false);

Parameters

Name

Description

batch

The batch of changes to apply.

fSync

If true, flush the changes to disk before returning.

Created with MrDocs