summaryrefslogtreecommitdiffhomepage
path: root/compiledsql.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiledsql.h')
-rw-r--r--compiledsql.h2
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)
{