[ CCode ( has_construct_function = false ) ]
[ Version ( since = "5.0.2" ) ]
public Connection.from_dsn (string dsn, string? auth_string, ConnectionOptions options) throws Error
This function is similar to open_from_dsn, except it does not actually open the connection, you have to open it using open.
dsn |
data source name. |
auth_string |
authentication string, or |
options |
options for the connection (see ConnectionOptions). |
a new Connection if connection opening was successful or |