aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-21 02:36:19 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:46 +0200
commit13df5e20c9afcf518bf6c4fa064ba681bd29f8e8 (patch)
tree50b7e4b031bdd2f5ccab3b74b0dc9b5f345fd32e /include
parent96b8ffc426eb0ae0a7a9e05fb65aa0d2179843ac (diff)
Add sql debug, fix action counter in request wrong number
Diffstat (limited to 'include')
-rw-r--r--include/odhtdb/sql/Sql.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/odhtdb/sql/Sql.hpp b/include/odhtdb/sql/Sql.hpp
index cb740a4..21517e4 100644
--- a/include/odhtdb/sql/Sql.hpp
+++ b/include/odhtdb/sql/Sql.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "../DataView.hpp"
+#include <string>
class sqlite3;
class sqlite3_stmt;
@@ -24,6 +25,8 @@ namespace odhtdb
SqlArg(u64 data) : uinteger64(data), type(Type::UINT64) {}
int bind(sqlite3_stmt *stmt, int paramIndex) const;
+
+ std::string toString() const;
private:
union
{