Connection.newFromDsn

This function is similar to gda.connection.Connection.openFromDsn, except it does not actually open the connection, you have to open it using gda.connection.Connection.open.

class Connection
static
newFromDsn

Parameters

dsn string

data source name.

authString string

authentication string, or null

options gda.types.ConnectionOptions

options for the connection (see #GdaConnectionOptions).

Return Value

Type: gda.connection.Connection

a new #GdaConnection if connection opening was successful or null if there was an error.

Throws