Once a batch operation is started, the following batch properties can be retrieved by calling the appropriate functions or methods.
FairCom DB 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 FairCom DB API record handle. |
ctdbBatchMode |
Retrieves the batch mode set by ctdbSetBatch() function. |
ctdbIsBatchActive |
Returns YES if a batch operation is active. |