klyn.databases.sql.sqlserver.SqlServerSupport.parseUrl
method
public static parseUrl(url as String, properties as Map<String, String> = null) as SqlServerOptions throws SQLException:
Description

Parses a connection URL into SqlServerOptions.

import klyn.databases.sql.sqlserver

options = SqlServerSupport.parseUrl("sqlserver://localhost:1433/app?user=sa&password=Secret123")
Throws
  • SQLException if the SQL operation cannot be completed because parameters, state, protocol data, or the database response are invalid.