Connect to a database server through a DBI driver.
connect( conn, [queryops] )
conn | SQL connection string. | ||
queryops | Default transaction options to be applied to operations performed on the returned handler returned handle. | ||
Return | an instance of Handle. | ||
Raise |
|
This function acts as a front-end to dynamically determine the DBI driver that should be used to connect to a determined database.
The conn connection string is in the format described in dbi_load. An optional parameter queryops can be given to change some default value in the connection.
See also: Handle.