SqlServerDriver
class in package klyn.databases.sql.sqlserver

    public class SqlServerDriver implements Driver:

SqlServerDriver
All Implemented Interfaces: Driver

Microsoft SQL Server driver entry point for `klyn.databases.sql`.

    import klyn.databases.sql.sqlserver

    # cnx = SqlServerDriver.connect("sqlserver://localhost:1433/app", "app", "secret")

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | name `name as String:` | Human-readable driver name.

Inherited Properties
property Inherited Properties from Driver: name
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | SqlServerDriver `SqlServerDriver():` | Creates the stateless SQL Server driver object.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public static | connect `connect(url as String, user as String = "", password as String = "", properties as Map<String, String> = null, sslContext as SSLContext = null) as SqlServerConnection throws Exception:` | Opens a SQL Server connection.
public | openConnection `openConnection(url as String, properties as Map<String, String> = null) as Connection throws SQLException:` | Opens a SQL Server connection from URL and connection properties.
public | supports `supports(url as String) as Boolean:` | Returns true for SQL Server connection URLs.

Inherited Methods
method Inherited Methods from Driver: openConnection, supports