All Classes Namespaces Functions Variables Groups Pages
QC_DatasourcePool.dox.h
namespace Qore::SQL {
class DatasourcePool : public AbstractDatasource {
public:
nothing beginTransaction();
public:
nothing commit();
public:
constructor(string driver, *string user, *string pass, *string db, *string encoding, *string host, softint min = 3, softint max = 10, softint port = 0);
public:
constructor(string desc);
public:
constructor(hash opts);
public:
copy();
public:
bool currentThreadInTransaction();
public:
destructor();
public:
any exec(string sql, ...);
public:
any execRaw(string sql);
public:
any getClientVersion();
public:
*string getDBCharset();
public:
string getDBEncoding();
public:
*string getDBName();
public:
string getDriverName();
public:
*string getHostName();
public:
int getMaximum();
public:
int getMinimum();
public:
string getOSCharset();
public:
*string getOSEncoding();
public:
any getOption(string opt);
public:
hash getOptionHash();
public:
*string getPassword();
public:
*int getPort();
public:
any getServerVersion();
public:
*string getUserName();
public:
bool inTransaction();
public:
nothing rollback();
public:
any select(string sql, ...);
public:
any selectRow(string sql, ...);
public:
any selectRows(string sql, ...);
public:
string toString();
public:
any vexec(string sql, *softlist vargs);
public:
any vselect(string sql, *softlist vargs);
public:
any vselectRow(string sql, *softlist vargs);
public:
any vselectRows(string sql, *softlist vargs);
};
};