Qore SqlUtil Module Reference 1.9
Loading...
Searching...
No Matches
Database.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
25// minimum required Qore version
26// assume local scope for variables, do not use "$" signs
27// require type definitions everywhere
29// enable all warnings
30
32namespace SqlUtil {
34
44class Database {
45
46public:
47protected:
50
51public:
52
54
65 constructor(AbstractDatasource ds, *hash<auto> opts);
66
67
69
79 constructor(string ds, *hash<auto> opts);
80
81
83
101 constructor(hash ds, *hash<auto> opts);
102
103
106
107
109 auto methodGate(string meth);
110
111};
112};
the base abstract class for the database implementation
Definition: AbstractDatabase.qc.dox.h:28
represents a database; this class embeds an AbstractDatabase object that is created automatically in ...
Definition: Database.qc.dox.h:44
auto methodGate(string meth)
executes a method on the contained AbstractDatabase object
AbstractDatabase db
the embedded AbstractDatabase object that actually provides the functionality for this class
Definition: Database.qc.dox.h:49
constructor(string ds, *hash< auto > opts)
creates the AbstractDatabase object
SqlUtil::AbstractDatabase getDatabase()
gets the underlying AbstractDatabase
constructor(AbstractDatasource ds, *hash< auto > opts)
creates the Database object
constructor(hash ds, *hash< auto > opts)
creates the AbstractDatabase object
Qore AbstractDatabase class definition.
Definition: AbstractDatabase.qc.dox.h:26