From b1c99b0c3b0a8d65f237f507ad238ce441233b3f Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Mon, 2 Jan 2023 20:39:15 +0100 Subject: Fix dependency, added test for CompiledSQL --- compiledsql.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiledsql.h') diff --git a/compiledsql.h b/compiledsql.h index 923be83..7510408 100644 --- a/compiledsql.h +++ b/compiledsql.h @@ -13,6 +13,7 @@ public: void init(const std::string& stmt); + // index 1-based as in SQLite template void bind(int index, T value) { @@ -21,6 +22,7 @@ public: bool execute(); + // index 0-based as in SQLite template T getColumn(const int index) { -- cgit v1.2.3