Qore SqlUtil Module Reference  1.7.3
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 
32 namespace SqlUtil {
34 
44 class Database {
45 
46 public:
47 protected:
50 
51 public:
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 };
represents a database; this class embeds an AbstractDatabase object that is created automatically in ...
Definition: Database.qc.dox.h:44
SqlUtil::AbstractDatabase getDatabase()
gets the underlying AbstractDatabase
Qore AbstractDatabase class definition.
Definition: AbstractDatabase.qc.dox.h:32
constructor(AbstractDatasource ds, *hash< auto > opts)
creates the Database object
hash< auto > hash(object obj)
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
the base abstract class for the database implementation
Definition: AbstractDatabase.qc.dox.h:34