detectDriver method

String? detectDriver(
  1. String connectionString
)

Detects the database driver from a connection string.

Returns the driver name (e.g. "sqlserver", "oracle", "postgres") if detected, or null if unknown.

Implementation

String? detectDriver(String connectionString) =>
    _native.detectDriver(connectionString);