getBatchErrorCount method
Get batch error count (for executemany with batchErrors=true)
Implementation
Future<int> getBatchErrorCount() async {
_ensureExecuted();
final errorCount = _memoryManager.allocate<Uint32>(sizeOf<Uint32>());
final result = _dpiOracle.dpiStmt_getBatchErrorCount(
_statementPtr.value,
errorCount,
);
if (result == DPI_FAILURE) {
return 0;
}
return errorCount.value;
}