This function allows you to access external databases.
As name please enter the name of a previously created external database connections.
Parameter |
Type |
Description |
|---|---|---|
$connectionName |
string |
Name of the global database connection |
This function returns an object of the JobDB type, which can then be used to query the external database using various SQL statements.
In case of an error a JobRouterException is thrown.
Example:
$jobDB = $this->getDBConnection('DOCUWARE');