diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-02 20:39:15 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-02 20:39:15 +0100 |
commit | b1c99b0c3b0a8d65f237f507ad238ce441233b3f (patch) | |
tree | f493704fac3177d0b2a37e1e189117fe6dc705ce /compiledsql.h | |
parent | 992a1b3d2653ed527c2a301f80140bc35d84e832 (diff) |
Fix dependency, added test for CompiledSQL
Diffstat (limited to 'compiledsql.h')
-rw-r--r-- | compiledsql.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<typename T> void bind(int index, T value) { @@ -21,6 +22,7 @@ public: bool execute(); + // index 0-based as in SQLite template<typename T> T getColumn(const int index) { |