From 6e726340e23a97480b17065a633c36a9ba53cf14 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 3 Jun 2021 00:17:28 +0100 Subject: Determine parameter mode at point of call by DB type property It's still constexpr, so that's all good. --- lib/dbConn.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/dbConn.h') 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; + enum class ParamMode { None, DollarNum, QMark }; + class DbConn { public: virtual ~DbConn() = default; -- cgit v1.2.3