Qorus Integration Engine® Community Edition 6.0.0_dev
Loading...
Searching...
No Matches
QorusDatasourceProvider Namespace Reference

The QorusDatasourceProvider namespace contains all the objects in the QorusDatasourceProvider module. More...

Functions

string get_mod_ds_string (string str)
 Returns a datasource connection string for the given datasource identifier. More...
 
*hash< string, string > get_mod_ds_hash ()
 Returns a hash of all known datasources; keys are datasource names, values are connection strings. More...
 

Detailed Description

The QorusDatasourceProvider namespace contains all the objects in the QorusDatasourceProvider module.

Function Documentation

◆ 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
strthe Qorus datasource identifiers
Returns
the datasource connection string if matched, otherwise an INVALID-DATASOURCE exception is thrown
Exceptions
INVALID-DATASOURCEunknown datasource