Qore Programming Language Reference Manual 1.19.1
Loading...
Searching...
No Matches
ql_dbi.dox.h
1
2namespace Qore {
4namespace SQL {
9
11
20*int getDBIDriverCapabilities(string driver);
21
23
28
30
39*list<string> getDBIDriverCapabilityList(string driver);
40
42
47
49
56*list<string> getDBIDriverList();
57
59
73
75
80
82}
83}
85namespace Qore {
87namespace SQL {
133
135
156
158
176*list<string> dbi_get_driver_capability_list(string driver);
177
179
194*list<string> dbi_get_driver_list();
195
197
216*hash<auto> dbi_get_driver_options(string driver);
217
219
241hash<auto> parse_datasource(string ds);
242
244}
245}
247namespace Qore {
249namespace 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
278 const RESULTSET = "resultset";
280 const VARCHAR = "string";
282}
283}
*list< string > dbi_get_driver_list()
Returns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded.
*hash< auto > dbi_get_driver_options(string driver)
returns a hash of driver options
int dbi_get_driver_capabilities(string driver)
Returns an integer representing the capabilities of a DBI driver binary-OR'ed together (see DBI Capab...
hash< auto > parse_datasource(string ds)
Returns a datasource hash of the components of a datasource string.
*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.
nothing getDBIDriverCapabilityList()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
nothing parseDatasource()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
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:272
const DATE
for binding date/time values
Definition: ql_dbi.dox.h:260
const DECIMAL
for binding decimal values as a number
Definition: ql_dbi.dox.h:264
const NUMBER
for binding number values as a number
Definition: ql_dbi.dox.h:268
const VARCHAR
for binding string values
Definition: ql_dbi.dox.h:280
const RESULTSET
For binding result set placeholders.
Definition: ql_dbi.dox.h:278
const BLOB
for binding BLOB values
Definition: ql_dbi.dox.h:256
const CLOB
for binding CLOB values
Definition: ql_dbi.dox.h:258
hash< auto > hash()
Always returns the same hash passed.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3