Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

Retrieving batch properties

Once a batch operation is started, the following batch properties can be retrieved by calling the appropriate functions or methods.

c-treeDB C++ API Methods

Batch Properties Returned

CTRecord::BatchTotal

Retrieves the total number of records matching the batch criteria.

CTRecord::BatchLocked

Retrieves the number of records locked by a batch operation.

CTRecord::BatchLoaded

Retrieves the number of records loaded in a batch buffer maintained by the c-treeDB record handle.

CTRecord::BatchMode

Retrieves the batch mode set by the CTRecord::SetBatch() method.

CTRecord::IsBatchActive

Returns YES if a batch operation is active.

TOCIndex