CDBWrapper::WriteBatch

Atomically applies all writes and erases queued in a batch.

Synopsis

Declared in <dbwrapper.h>

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

Parameters

NameDescription
batchThe batch of changes to apply.
fSyncIf true, flush the changes to disk before returning.