Qore Programming Language Reference Manual  0.9.3.1
ql_dbi.dox.h
1 namespace Qore::SQL {
7 
9 
18 *int getDBIDriverCapabilities(string driver);
19 
21 
25 nothing getDBIDriverCapabilities();
26 
28 
37 *list<string> getDBIDriverCapabilityList(string driver);
38 
40 
45 
47 
54 *list<string> getDBIDriverList();
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<string> dbi_get_driver_capability_list(string driver);
166 
168 
182 *list<string> dbi_get_driver_list();
183 
185 
201 *hash<auto> dbi_get_driver_options(string driver);
202 
204 
224 hash<auto> 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 };
nothing getDBIDriverCapabilities()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
const NUMERIC
for binding numeric values as a number
Definition: ql_dbi.dox.h:252
*list< string > dbi_get_driver_capability_list(string driver)
Returns a list of each capability supported by the given DBI driver (see DBI Capability Constants) or...
*list< string > getDBIDriverList()
Returns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded.
const RESULTSET
for binding result set placeholders (SQLStatement output values)
Definition: ql_dbi.dox.h:256
nothing parseDatasource()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
const NUMBER
for binding number values as a number
Definition: ql_dbi.dox.h:248
*list< string > dbi_get_driver_list()
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 DATE
for binding date/time values
Definition: ql_dbi.dox.h:240
const VARCHAR
for binding string values
Definition: ql_dbi.dox.h:258
hash< auto > hash(object obj)
Returns a hash of an object's members.
hash< auto > parse_datasource(string ds)
Returns a datasource hash of the components of a datasource string.
nothing getDBIDriverCapabilityList()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
const DECIMAL
for binding decimal values as a number
Definition: ql_dbi.dox.h:244
const BLOB
for binding BLOB values
Definition: ql_dbi.dox.h:236
*hash< auto > dbi_get_driver_options(string driver)
returns a hash of driver options
const CLOB
for binding CLOB values
Definition: ql_dbi.dox.h:238