[#CDBBatch] = CDBBatch :mrdocs: Batch of changes queued to be written to a CDBWrapper == Synopsis Declared in `<dbwrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CDBBatch; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:CDBBatch/2constructor.adoc[`CDBBatch`] [.small]#[constructor]# | Constructs a batch bound to the wrapper it will be submitted to. | xref:CDBBatch/2destructor.adoc[`~CDBBatch`] [.small]#[destructor]# | Destroys the batch and releases its resources. | xref:CDBBatch/ApproximateSize.adoc[`ApproximateSize`] | Returns an estimate of the batch's serialized size in bytes. | xref:CDBBatch/Clear.adoc[`Clear`] | Removes all queued writes and erases from the batch. | xref:CDBBatch/Erase.adoc[`Erase`] | Queues an erase of the given key into the batch. | xref:CDBBatch/Write.adoc[`Write`] | Queues a write of the given key and value into the batch. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:CDBWrapper.adoc[CDBWrapper]` | Wraps a LevelDB database, providing typed, serialized key‐value access. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#