createPool method
Create a pool. When options is null or has no fields set, falls back
to the legacy odbc_pool_create (no options) for maximum compatibility.
Returns the pool id (>0) on success, 0 on failure (call
getLastError for details).
Implementation
int createPool(
String connectionString,
int maxSize, {
PoolOptions? options,
}) {
return createPoolDispatch(
supportsPoolCreateWithOptions: supportsApi,
connectionString: connectionString,
maxSize: maxSize,
options: options,
poolCreate: _native.poolCreate,
poolCreateWithOptions: _native.poolCreateWithOptions,
);
}