32 #ifndef _QORE_DATASOURCESTATEMENTHELPER_H
33 #define _QORE_DATASOURCESTATEMENTHELPER_H
35 class QoreSQLStatement;
37 class DatasourceStatementHelper {
39 DLLLOCAL DatasourceStatementHelper() {}
40 DLLLOCAL
virtual ~DatasourceStatementHelper() {}
43 return helperStartActionImpl(xsink, new_transaction);
46 DLLLOCAL
void helperDestructor(QoreSQLStatement* s,
ExceptionSink* xsink) {
47 helperDestructorImpl(s, xsink);
51 return helperEndActionImpl(cmd, new_transaction, xsink);
54 DLLLOCAL DatasourceStatementHelper* helperRefSelf() {
55 return helperRefSelfImpl();
59 virtual void helperDestructorImpl(QoreSQLStatement* s,
ExceptionSink* xsink) = 0;
62 virtual DatasourceStatementHelper* helperRefSelfImpl() = 0;
the base class for accessing databases in Qore through a Qore DBI driver
Definition: Datasource.h:55
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48