$darkmode
Qore Programming Language Reference Manual 1.19.2
ql_dbi.dox.h
1 namespace Qore {
4 namespace 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 
72 hash parseDatasource(string ds);
73 
75 
79 nothing parseDatasource();
80 
82 }
83 }
85 namespace Qore {
87 namespace SQL {
133 
135 
155 int dbi_get_driver_capabilities(string driver);
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 
241 hash<auto> parse_datasource(string ds);
242 
244 }
245 }
247 namespace Qore {
249 namespace 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_capability_list(string driver)
Returns a list of each capability supported by the given DBI driver (see DBI Capability Constants) or...
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_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
*list< string > getDBIDriverList()
Returns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded.
*int getDBIDriverCapabilities(string driver)
Returns an integer representing the capabilities of a DBI driver binary-OR'ed together (see DBI Capab...
*list< string > getDBIDriverCapabilityList(string driver)
Returns a list of each capability supported by the given DBI driver (see DBI Capability Constants) or...
hash parseDatasource(string ds)
Returns a datasource hash of the components of a datasource string.
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(object obj)
Returns a hash of an object's members.
Qore namespace.
Definition: QC_AbstractBidirectionalIterator.dox.h:2