public static driverFor(url as String) as Driver throws SQLFeatureNotSupportedException:
Returns the first registered driver supporting the URL.
import klyn.databases.sql
driver = DriverManager.driverFor("sqlserver://localhost/app")
print(driver.name)| Parameter | Description |
|---|---|
url | Database connection URL. |
Matching SQL driver.