summaryrefslogtreecommitdiff
path: root/lib/input/mysqlConn.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/input/mysqlConn.h')
-rw-r--r--lib/input/mysqlConn.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/input/mysqlConn.h b/lib/input/mysqlConn.h
index 2f57f33..9e4ec25 100644
--- a/lib/input/mysqlConn.h
+++ b/lib/input/mysqlConn.h
@@ -1,15 +1,19 @@
#ifndef MYGRATE_INPUT_MYSQLCONN_H
#define MYGRATE_INPUT_MYSQLCONN_H
+#include <dbConn.h>
+#include <dbTypes.h>
+#include <initializer_list>
#include <mysql.h>
namespace MyGrate::Input {
- class MySQLConn : public MYSQL {
+ class MySQLConn : public MYSQL, public DbConn {
public:
MySQLConn(const char * const host, const char * const user, const char * const pass, unsigned short port);
~MySQLConn();
- void query(const char * const);
+ void query(const char * const) override;
+ void query(const char * const q, const std::initializer_list<DbValue> &) override;
};
}