Qore SqlUtil Module Reference  1.7.3
Table.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 
32 namespace SqlUtil {
34 
50 class Table {
51 
52 public:
53 protected:
56 
57 public:
58 
60 
72  constructor(AbstractDatasource ds, string name, *hash<auto> opts);
73 
74 
76 
88  constructor(string ds, string name, *hash<auto> opts);
89 
90 
92 
112  constructor(hash<auto> ds, string name, *hash<auto> opts);
113 
114 
116 
124  constructor(AbstractDatasource ds, hash<auto> desc, string name, *hash<auto> opts);
125 
126 
129 
130 
132 
134  auto methodGate(string meth);
135 
136 
137 }; // class Table
138 };
the base abstract class for the table implementation
Definition: AbstractTable.qc.dox.h:30
Qore AbstractDatabase class definition.
Definition: AbstractDatabase.qc.dox.h:32
constructor(AbstractDatasource ds, string name, *hash< auto > opts)
creates the Table object
auto methodGate(string meth)
executes a method on the contained AbstractTable object
AbstractTable getTable()
returns the AbstractTable object contained by this object
represents a database table; this class embeds an AbstractTable object that is created automatically ...
Definition: Table.qc.dox.h:50
AbstractTable t
the embedded AbstractTable object that actually provides the functionality for this class ...
Definition: Table.qc.dox.h:55