| Qore Programming Language Reference Manual 2.2.0

Loading...
Searching...
No Matches
ql_dbi.dox.h
1
2 namespace Qore {
4 namespace SQL {
9
11
20*int getDBIDriverCapabilities(string driver);
21
23
27nothing getDBIDriverCapabilities();
28
30
39*list<string> getDBIDriverCapabilityList(string driver);
40
42
46nothing getDBIDriverCapabilityList();
47
49
56*list<string> getDBIDriverList();
57
59
72 hash parseDatasource(string ds);
73
75
79nothing 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}
Qore::SQL::dbi_get_driver_list
*list< string > dbi_get_driver_list()
Returns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded.
Qore::SQL::dbi_get_driver_options
*hash< auto > dbi_get_driver_options(string driver)
returns a hash of driver options
Qore::SQL::dbi_get_driver_capabilities
int dbi_get_driver_capabilities(string driver)
Returns an integer representing the capabilities of a DBI driver binary-OR'ed together (see DBI Capab...
Qore::SQL::parse_datasource
hash< auto > parse_datasource(string ds)
Returns a datasource hash of the components of a datasource string.
Qore::SQL::dbi_get_driver_capability_list
*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...
Qore::SQL::getDBIDriverList
*list< string > getDBIDriverList()
Returns a list of strings of DBI drivers currently loaded or NOTHING if no drivers are loaded.
Qore::SQL::getDBIDriverCapabilityList
nothing getDBIDriverCapabilityList()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::SQL::parseDatasource
nothing parseDatasource()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::SQL::getDBIDriverCapabilities
nothing getDBIDriverCapabilities()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
Qore::SQL::NUMERIC
const NUMERIC
for binding numeric values as a number
Definition ql_dbi.dox.h:272
Qore::SQL::DATE
const DATE
for binding date/time values
Definition ql_dbi.dox.h:260
Qore::SQL::DECIMAL
const DECIMAL
for binding decimal values as a number
Definition ql_dbi.dox.h:264
Qore::SQL::NUMBER
const NUMBER
for binding number values as a number
Definition ql_dbi.dox.h:268
Qore::SQL::VARCHAR
const VARCHAR
for binding string values
Definition ql_dbi.dox.h:280
Qore::SQL::RESULTSET
const RESULTSET
For binding result set placeholders.
Definition ql_dbi.dox.h:278
Qore::SQL::BLOB
const BLOB
for binding BLOB values
Definition ql_dbi.dox.h:256
Qore::SQL::CLOB
const CLOB
for binding CLOB values
Definition ql_dbi.dox.h:258
Qore::hash
hash< auto > hash(object obj)
Returns a hash of an object's members.
Qore::list
list< auto > list(...)
Returns a list of the arguments passed at the top level.
Qore::SQL
SQL namespace.
Definition QC_AbstractDatasource.dox.h:4
Qore
main Qore-language namespace
Definition Pseudo_QC_All.dox.h:3