Qore Programming Language Reference Manual  1.0.6
DBI Functions

These DBI functions were added in Qore 0.8.6; the original functions used camel case names and had NOOP variants (see Old DBI Functions) More...

Collaboration diagram for DBI Functions:

These DBI functions were added in Qore 0.8.6; the original functions used camel case names and had NOOP variants (see Old DBI Functions)

Datasource Hash

Key Description
type the name of the driver, if present
user the username given in the string
pass the password for the connection
db the database name for the connection
charset The name of the DB-specific character encoding to use for the connection, if present in the string
host the hostname for the connection, if present in the string
port the port number to use for the connection, if present in the string
options A hash of options given in the string, if present. Special options are "min" and "max", which are respected by the DatasourcePool::constructor(hash) variant for setting the minimum and maximum connections in the pool, respectively; other options are passed to the DBI driver