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/output/pq/pqConn.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/output') diff --git a/lib/output/pq/pqConn.h b/lib/output/pq/pqConn.h index 856683d..ae5fc9a 100644 --- a/lib/output/pq/pqConn.h +++ b/lib/output/pq/pqConn.h @@ -14,6 +14,8 @@ namespace MyGrate::Output::Pq { class PqConn : public DbConn { public: + static constexpr auto paramMode {ParamMode::DollarNum}; + explicit PqConn(const char * const str); virtual ~PqConn() = default; -- cgit v1.2.3