The QorusDatasourceProvider namespace contains all the objects in the QorusDatasourceProvider module.
More...
The QorusDatasourceProvider namespace contains all the objects in the QorusDatasourceProvider module.
◆ get_mod_ds_hash()
*hash< string, string > QorusDatasourceProvider::get_mod_ds_hash |
( |
| ) |
|
Returns a hash of all known datasources; keys are datasource names, values are connection strings.
- Example:
*hash<string, string> ds_hash = get_mod_ds_hash();
- Returns
- a hash of all known datasources; keys are datasource names, values are connection strings
◆ get_mod_ds_string()
string QorusDatasourceProvider::get_mod_ds_string |
( |
string |
str | ) |
|
Returns a datasource connection string for the given datasource identifier.
- Example:
string connstr = get_mod_ds_string(str);
- Parameters
-
- Returns
- the datasource connection string if matched, otherwise an
INVALID-DATASOURCE
exception is thrown
- Exceptions
-