Qore Programming Language Reference Manual  0.9.2
ql_dbi.dox.h
1 namespace Qore::SQL {
7 
9 
18 *int getDBIDriverCapabilities(string driver);
19 
21 
25 nothing getDBIDriverCapabilities();
26 
28 
37 *list getDBIDriverCapabilityList(string driver);
38 
40 
45 
47 
55 
57 
70 hash parseDatasource(string ds);
71 
73 
77 nothing parseDatasource();
78 
80 };
82 namespace Qore::SQL {
128 
130 
146 int dbi_get_driver_capabilities(string driver);
147 
149 
165 *list dbi_get_driver_capability_list(string driver);
166 
168 
183 
185 
201 *hash dbi_get_driver_options(string driver);
202 
204 
224 hash parse_datasource(string ds);
225 
227 };
229 namespace Qore::SQL {
234 
236  const BLOB = "blob";
238  const CLOB = "clob";
240  const DATE = "date";
242 
244  const DECIMAL = "number";
246 
248  const NUMBER = "number";
250 
252  const NUMERIC = "number";
254 
256  const RESULTSET = "resultset";
258  const VARCHAR = "string";
260 };
*int getDBIDriverCapabilities(string driver)
Returns an integer representing the capabilities of a DBI driver binary-OR'ed together (see DBI Capab...
*list getDBIDriverList()
Returns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded...
int dbi_get_driver_capabilities(string driver)
Returns an integer representing the capabilities of a DBI driver binary-OR'ed together (see DBI Capab...
const RESULTSET
for binding result set placeholders (SQLStatement output values)
Definition: ql_dbi.dox.h:256
Qore::SQL namespace.
Definition: QC_AbstractDatasource.dox.h:2
const DECIMAL
for binding decimal values as a number
Definition: ql_dbi.dox.h:244
const CLOB
for binding CLOB values
Definition: ql_dbi.dox.h:238
const VARCHAR
for binding string values
Definition: ql_dbi.dox.h:258
list list(...)
Returns an untyped list of the arguments passed at the top level.
*hash dbi_get_driver_options(string driver)
returns a hash of driver options
const NUMERIC
for binding numeric values as a number
Definition: ql_dbi.dox.h:252
hash parseDatasource(string ds)
Returns a datasource hash of the components of a datasource string.
const NUMBER
for binding number values as a number
Definition: ql_dbi.dox.h:248
*list getDBIDriverCapabilityList(string driver)
Returns a list of each capability supported by the given DBI driver (see DBI Capability Constants) or...
const BLOB
for binding BLOB values
Definition: ql_dbi.dox.h:236
*list dbi_get_driver_capability_list(string driver)
Returns a list of each capability supported by the given DBI driver (see DBI Capability Constants) or...
hash hash(object obj)
Returns a hash of an object's members.
hash parse_datasource(string ds)
Returns a datasource hash of the components of a datasource string.
*list dbi_get_driver_list()
Returns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded...
const DATE
for binding date/time values
Definition: ql_dbi.dox.h:240