Client.findConnection

Looks for an open connection given a data source name (per libgda configuration), a username and a password. This function iterates over the list of open connections in the given GdaClient and looks for one that matches the given data source name, username and password.

class Client
findConnection
(
string dsn
,
string username
,
string password
)

Parameters

dsn string

data source name.

username string

user name.

password string

password for username.

Return Value

a pointer to the found connection, or NULL if it could not be found.

Meta