Qore Programming Language Reference Manual  0.8.9
 All Classes Namespaces Functions Variables Groups Pages
ql_dbi.dox.h
1 namespace Qore::SQL {
7 
9 
23 *int getDBIDriverCapabilities(string driver);
24 
26 
30 nothing getDBIDriverCapabilities();
31 
33 
47 *list getDBIDriverCapabilityList(string driver);
48 
50 
55 
57 
70 
72 
90 hash parseDatasource(string ds);
91 
93 
97 nothing parseDatasource();
98 
100 };
102 namespace Qore::SQL {
148 
150 
166 int dbi_get_driver_capabilities(string driver);
167 
169 
185 *list dbi_get_driver_capability_list(string driver);
186 
188 
203 
205 
221 *hash dbi_get_driver_options(string driver);
222 
224 
244 hash parse_datasource(string ds);
245 
247 };
249 namespace Qore::SQL {
254 
256  const BLOB = "blob";
258  const CLOB = "clob";
260  const DATE = "date";
262 
264  const DECIMAL = "number";
266 
268  const NUMBER = "number";
270 
272  const NUMERIC = "number";
274  const VARCHAR = "string";
276 };
*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 DECIMAL
for binding decimal values as a number
Definition: ql_dbi.dox.h:264
const CLOB
for binding CLOB values
Definition: ql_dbi.dox.h:258
const VARCHAR
for binding string values
Definition: ql_dbi.dox.h:274
list list(...)
Returns a 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:272
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:268
*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:256
*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
fod binding date/time values
Definition: ql_dbi.dox.h:260