summaryrefslogtreecommitdiff
path: root/lib/dbConn.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-06-03 00:17:28 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-06-03 00:17:39 +0100
commit6e726340e23a97480b17065a633c36a9ba53cf14 (patch)
treecd9f161a542f85e5cae9119e43c870651431d0ca /lib/dbConn.h
parentAdd event source ptr typedef (diff)
downloadmygrate-6e726340e23a97480b17065a633c36a9ba53cf14.tar.bz2
mygrate-6e726340e23a97480b17065a633c36a9ba53cf14.tar.xz
mygrate-6e726340e23a97480b17065a633c36a9ba53cf14.zip
Determine parameter mode at point of call by DB type property
It's still constexpr, so that's all good.
Diffstat (limited to 'lib/dbConn.h')
-rw-r--r--lib/dbConn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dbConn.h b/lib/dbConn.h
index e4b056c..3f14dcb 100644
--- a/lib/dbConn.h
+++ b/lib/dbConn.h
@@ -15,6 +15,8 @@ namespace MyGrate {
};
using DbPrepStmtPtr = std::unique_ptr<DbPrepStmt>;
+ enum class ParamMode { None, DollarNum, QMark };
+
class DbConn {
public:
virtual ~DbConn() = default;