Qore Programming Language Reference Manual  1.0.8
ql_dbi.dox.h
1 namespace Qore {
4 namespace SQL {
8 
10 
20 *int getDBIDriverCapabilities(string driver);
21 
23 
27 nothing getDBIDriverCapabilities();
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 {
134 
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 {
241 
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 }
*int getDBIDriverCapabilities(string driver)
Returns an integer representing the capabilities of a DBI driver binary-OR&#39;ed together (see DBI Capab...
*list< string > 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&#39;ed together (see DBI Capab...
const RESULTSET
for binding result set placeholders (SQLStatement output values)
Definition: ql_dbi.dox.h:264
const DECIMAL
for binding decimal values as a number
Definition: ql_dbi.dox.h:252
hash< auto > parse_datasource(string ds)
Returns a datasource hash of the components of a datasource string.
const CLOB
for binding CLOB values
Definition: ql_dbi.dox.h:246
const VARCHAR
for binding string values
Definition: ql_dbi.dox.h:266
*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...
const NUMERIC
for binding numeric values as a number
Definition: ql_dbi.dox.h:260
hash parseDatasource(string ds)
Returns a datasource hash of the components of a datasource string.
*list< string > getDBIDriverCapabilityList(string driver)
Returns a list of each capability supported by the given DBI driver (see DBI Capability Constants) or...
*list< string > dbi_get_driver_list()
Returns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded...
const NUMBER
for binding number values as a number
Definition: ql_dbi.dox.h:256
hash< auto > hash(object obj)
Returns a hash of an object&#39;s members.
const BLOB
for binding BLOB values
Definition: ql_dbi.dox.h:244
*hash< auto > dbi_get_driver_options(string driver)
returns a hash of driver options
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
const DATE
for binding date/time values
Definition: ql_dbi.dox.h:248