#include <TDBConnectionManager.hh>
Static Public Methods | |
void | SetLogin (TString username, TString password, TString database, TString host, TString port) |
Initialise connection manager with login data. | |
TDBConnection * | Connection (int index=0) |
Get connection. | |
void | Close () |
Close open connections. |
Currently only PostgreSQL is supported.
FIXME: Only one connection implemented!
|
Close open connections. To be called at the end of the program. |
|
Get connection. The returned object should not be destroyed.
|