Loading...
Searching...
No Matches
AbstractSqlUtilBase.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace SqlUtil {
class AbstractSqlUtilBase : public Qore::Serializable {
public:
protected:
string dsdesc;
*hash<auto> opts;
transient AbstractDatasource ds;
transient Mutex l();
public:
// assigs the object's members after deserialization
private:
deserializeMembers(hash<auto> members);
public:
// serializes the object's data to a hash
private:
hash<auto> serializeMembers(hash<auto> members);
public:
protected:
constructor(AbstractDatasource nds, *hash nopts);
public:
static string makeDatasourceDesc(AbstractDatasource ds);
protected:
validateOptionsIntern(string err, hash<auto> ropt, reference<hash<auto>> opt0, string tag);
public:
protected:
static validateOptionIntern(string err, string type, reference<auto> opt, string k, string tag);
public:
protected:
validateHashKeysForWhitespaces(auto node);
public:
Qore::SQL::AbstractDatasource getDatasource();
string getDriverName();
string getDatasourceDesc();
};
};
SqlUtil::AbstractSqlUtilBase
base class for abstract SqlUtil classes
Definition AbstractSqlUtilBase.qc.dox.h:28
SqlUtil::AbstractSqlUtilBase::getDatasourceDesc
string getDatasourceDesc()
returns a descriptive string for the datasource
SqlUtil::AbstractSqlUtilBase::getDatasource
Qore::SQL::AbstractDatasource getDatasource()
gets the underlying AbstractDatasource
SqlUtil::AbstractSqlUtilBase::constructor
constructor(AbstractDatasource nds, *hash nopts)
creates the object; private constructor
SqlUtil::AbstractSqlUtilBase::l
transient Mutex l()
mutex for atomic actions
SqlUtil::AbstractSqlUtilBase::ds
transient AbstractDatasource ds
the connection to the database server
Definition AbstractSqlUtilBase.qc.dox.h:37
SqlUtil::AbstractSqlUtilBase::opts
*hash< auto > opts
option hash
Definition AbstractSqlUtilBase.qc.dox.h:35
SqlUtil::AbstractSqlUtilBase::dsdesc
string dsdesc
datasource description
Definition AbstractSqlUtilBase.qc.dox.h:33
SqlUtil::AbstractSqlUtilBase::getDriverName
string getDriverName()
returns the database driver name
SqlUtil::AbstractSqlUtilBase::validateHashKeysForWhitespaces
validateHashKeysForWhitespaces(auto node)
Check input node for all hash keys - if it contains a key with whitespace in the beginning or at the ...
SqlUtil
Qore AbstractDatabase class definition.
Definition AbstractDatabase.qc.dox.h:26