NativeOdbcConnection.testing constructor

  1. @visibleForTesting
NativeOdbcConnection.testing(
  1. OdbcNative native
)

Creates an instance backed by injected native (unit tests only).

Implementation

@visibleForTesting
NativeOdbcConnection.testing(bindings.OdbcNative native) : _native = native {
  _auditLogger = OdbcAuditLogger(_native);
}