Loading...
Searching...
No Matches
Database.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
// minimum required Qore version
// assume local scope for variables, do not use "$" signs
// require type definitions everywhere
// enable all warnings
namespace SqlUtil {
class Database {
public:
protected:
AbstractDatabase db;
public:
constructor(AbstractDatasource ds, *hash<auto> opts);
constructor(string ds, *hash<auto> opts);
constructor(hash ds, *hash<auto> opts);
SqlUtil::AbstractDatabase getDatabase();
auto methodGate(string meth);
};
};
SqlUtil::AbstractDatabase
the base abstract class for the database implementation
Definition AbstractDatabase.qc.dox.h:28
SqlUtil::Database
represents a database; this class embeds an AbstractDatabase object that is created automatically in ...
Definition Database.qc.dox.h:44
SqlUtil::Database::methodGate
auto methodGate(string meth)
executes a method on the contained AbstractDatabase object
SqlUtil::Database::db
AbstractDatabase db
the embedded AbstractDatabase object that actually provides the functionality for this class
Definition Database.qc.dox.h:49
SqlUtil::Database::constructor
constructor(string ds, *hash< auto > opts)
creates the AbstractDatabase object
SqlUtil::Database::getDatabase
SqlUtil::AbstractDatabase getDatabase()
gets the underlying AbstractDatabase
SqlUtil::Database::constructor
constructor(AbstractDatasource ds, *hash< auto > opts)
creates the Database object
SqlUtil::Database::constructor
constructor(hash ds, *hash< auto > opts)
creates the AbstractDatabase object
SqlUtil
Qore AbstractDatabase class definition.
Definition AbstractDatabase.qc.dox.h:26