src/PreparedStatement.h
branchv_0
changeset 29 b0ef1e1dc9c8
parent 28 498d5d3406c3
child 30 629565ff82d3
--- a/src/PreparedStatement.h	Wed Dec 25 01:26:02 2019 +0100
+++ b/src/PreparedStatement.h	Wed Dec 25 01:37:05 2019 +0100
@@ -16,8 +16,6 @@
  */
 #pragma once
 
-#include <sqlite3.h>
-
 #include <relpipe/reader/typedefs.h>
 #include <relpipe/reader/TypeId.h>
 #include <relpipe/writer/TypeId.h>
@@ -43,6 +41,7 @@
 	std::string getColumName(int columnIndex);
 	relpipe::writer::TypeId getColumType(int columnIndex, relpipe::writer::TypeId defaultType = relpipe::writer::TypeId::STRING);
 	std::string getString(int columnIndex);
+	static bool isComplete(const char *sql); // TODO: use own implementation + move to a separate class
 };
 
 }