Product Documentation

c-treeDB API API for C

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 API C API Function

Batch Properties Returned

ctdbBatchTotal

Retrieves the total number of records matching the batch criteria.

ctdbBatchLocked

Retrieves the number of records locked by a batch operation.

ctdbBatchLoaded

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

ctdbBatchMode

Retrieves the batch mode set by ctdbSetBatch() function.

ctdbIsBatchActive

Returns YES if a batch operation is active.

TOCIndex