3.5Functions

connect

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.
Returnan instance of Handle.
Raise
DBIError if the connection fails.

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.

Made with http://www.falconpl.org