Qore Programming Language Reference Manual
1.12.1
|
Modules | |
DBI Functions | |
SQL Constants | |
Functions | |
*int | Qore::SQL::getDBIDriverCapabilities (string driver) |
Returns an integer representing the capabilities of a DBI driver binary-OR'ed together (see DBI Capability Constants) or NOTHING if the driver is not already loaded. More... | |
nothing | Qore::SQL::getDBIDriverCapabilities () |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments. More... | |
*list< string > | Qore::SQL::getDBIDriverCapabilityList (string driver) |
Returns a list of each capability supported by the given DBI driver (see DBI Capability Constants) or NOTHING if the driver cannot be found. More... | |
nothing | Qore::SQL::getDBIDriverCapabilityList () |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments. More... | |
*list< string > | Qore::SQL::getDBIDriverList () |
Returns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded. More... | |
hash | Qore::SQL::parseDatasource (string ds) |
Returns a datasource hash of the components of a datasource string. More... | |
nothing | Qore::SQL::parseDatasource () |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments. More... | |
int | Qore::SQL::dbi_get_driver_capabilities (string driver) |
Returns an integer representing the capabilities of a DBI driver binary-OR'ed together (see DBI Capability Constants) or 0 if the driver is not already loaded. More... | |
*list< string > | Qore::SQL::dbi_get_driver_capability_list (string driver) |
Returns a list of each capability supported by the given DBI driver (see DBI Capability Constants) or NOTHING if the driver cannot be found. More... | |
*list< string > | Qore::SQL::dbi_get_driver_list () |
Returns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded. More... | |
*hash< auto > | Qore::SQL::dbi_get_driver_options (string driver) |
returns a hash of driver options More... | |
hash< auto > | Qore::SQL::parse_datasource (string ds) |
Returns a datasource hash of the components of a datasource string. More... | |
Old DBI functions; see DBI Functions
Returns an integer representing the capabilities of a DBI driver binary-OR'ed together (see DBI Capability Constants) or 0 if the driver is not already loaded.
driver | the name of the driver; if the given driver is not already loaded then this function returns NOTHING |
"names_like_this()"
instead of "camelCase()"
), always returns an int, and does not have a NOOP variantReturns a list of each capability supported by the given DBI driver (see DBI Capability Constants) or NOTHING if the driver cannot be found.
driver | the name of the driver; if the given driver is not loaded then the function returns NOTHING |
"names_like_this()"
instead of "camelCase()"
) and does not have a NOOP variantReturns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded.
"names_like_this()"
instead of "camelCase()"
)returns a hash of driver options
driver | the name of the driver; if the given driver is not already loaded then this function returns NOTHING |
"desc"
: a string description of the option"type"
: a string giving the data type restriction for the optionnothing Qore::SQL::getDBIDriverCapabilities | ( | ) |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
Returns an integer representing the capabilities of a DBI driver binary-OR'ed together (see DBI Capability Constants) or NOTHING if the driver is not already loaded.
driver | the name of the driver; if the given driver is not already loaded then this function returns NOTHING |
nothing Qore::SQL::getDBIDriverCapabilityList | ( | ) |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
Returns a list of each capability supported by the given DBI driver (see DBI Capability Constants) or NOTHING if the driver cannot be found.
driver | the name of the driver; if the given driver is not loaded then the function returns NOTHING |
Returns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded.
Returns a datasource hash of the components of a datasource string.
ds | a string describing the datasource with the following syntax:[ driver:][ user]:[/ pass]@ db[( charset)][% host[: port][{ option= val[,...]}] where all elements except @ db are optional |
DATASOURCE-PARSE-ERROR | a syntax error occurred parsing the datasource string (missing field, unexpected character, etc) |
"names_like_this()"
instead of "camelCase()"
) and does not have a NOOP variantnothing Qore::SQL::parseDatasource | ( | ) |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
Returns a datasource hash of the components of a datasource string.
ds | a string describing the datasource with the following syntax:[ driver:][ user]:[/ pass]@ db[( charset)][% host[: port][{ option= val[,...]}] where all elements except @ db are optional |
DATASOURCE-PARSE-ERROR | a syntax error occurred parsing the datasource string (missing field, unexpected character, etc) |