Qore Programming Language Reference Manual  0.9.10
ql_dbi.dox.h
1 namespace Qore {
4 namespace SQL {
10 
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 
151 int dbi_get_driver_capabilities(string driver);
152 
154 
170 *list<string> dbi_get_driver_capability_list(string driver);
171 
173 
187 *list<string> dbi_get_driver_list();
188 
190 
206 *hash<auto> dbi_get_driver_options(string driver);
207 
209 
229 hash<auto> parse_datasource(string ds);
230 
232 }
233 }
235 namespace Qore {
237 namespace SQL {
243  const BLOB = "blob";
246  const CLOB = "clob";
248  const DATE = "date";
250 
252  const DECIMAL = "number";
254 
256  const NUMBER = "number";
258 
260  const NUMERIC = "number";
262 
264  const RESULTSET = "resultset";
266  const VARCHAR = "string";
268 }
269 }
Qore::SQL::getDBIDriverList
*list< string > getDBIDriverList()
Returns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded.
Qore::hash
hash< auto > hash(object obj)
Returns a hash of an object's members.
Qore::SQL::getDBIDriverCapabilities
*int getDBIDriverCapabilities(string driver)
Returns an integer representing the capabilities of a DBI driver binary-OR'ed together (see DBI Capab...
Qore::SQL::parseDatasource
hash parseDatasource(string ds)
Returns a datasource hash of the components of a datasource string.
Qore::SQL::getDBIDriverCapabilityList
*list< string > getDBIDriverCapabilityList(string driver)
Returns a list of each capability supported by the given DBI driver (see DBI Capability Constants) or...
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3