setStmtCacheSize method

Future<void> setStmtCacheSize(
  1. int cacheSize
)

Set statement cache size

Implementation

Future<void> setStmtCacheSize(int cacheSize) async {
  _ensureNotDisposed();

  final result = _dpiOracle.dpiPool_setStmtCacheSize(_poolPtr.value, cacheSize);

  if (result == DPI_FAILURE) {
    throw OraclePoolException('Failed to set statement cache size');
  }
}