diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-06-05 17:31:57 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-06-05 17:31:57 +0100 |
commit | c5974cfe2726d8088b08dc52edd4a825dc86e147 (patch) | |
tree | 633b6cbe9682da243505b530e13f96761c8a7cb4 /lib/input/mysqlStmt.h | |
parent | Wrap DbValue in a class so we can add helpers to it (diff) | |
download | mygrate-c5974cfe2726d8088b08dc52edd4a825dc86e147.tar.bz2 mygrate-c5974cfe2726d8088b08dc52edd4a825dc86e147.tar.xz mygrate-c5974cfe2726d8088b08dc52edd4a825dc86e147.zip |
Add conversion operators to get common types from DbValues
Diffstat (limited to 'lib/input/mysqlStmt.h')
-rw-r--r-- | lib/input/mysqlStmt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/input/mysqlStmt.h b/lib/input/mysqlStmt.h index a42e0db..69e62d4 100644 --- a/lib/input/mysqlStmt.h +++ b/lib/input/mysqlStmt.h @@ -3,12 +3,14 @@ #include "dbConn.h" #include "dbRecordSet.h" -#include "dbTypes.h" #include <cstddef> #include <initializer_list> #include <memory> #include <mysql.h> +namespace MyGrate { + class DbValue; +} namespace MyGrate::Input { using StmtPtr = std::unique_ptr<MYSQL_STMT, decltype(&mysql_stmt_close)>; |