1#ifndef ENGINE_QUERY_ENGINE_H
2#define ENGINE_QUERY_ENGINE_H
21 bool run(std::string sqlQuery);
22 std::unique_ptr<Xale::DataStructure::ResultSet>
getResults();
27 std::unique_ptr<Xale::DataStructure::ResultSet> _results;
30 std::string formatSelectResult();
31 std::string formatInsertResult();
32 std::string formatUpdateResult();
33 std::string formatDeleteResult();
34 std::string formatCreateResult();
35 std::string formatDropResult();
std::unique_ptr< Xale::DataStructure::ResultSet > getResults()
Get the last runned query results.
Definition QueryEngine.cpp:37
bool run(std::string sqlQuery)
Run the given string query.
Definition QueryEngine.cpp:24
std::string getResultsToString()
Get the last runned query results as a formatted string.
Definition QueryEngine.cpp:49
Definition IExecutor.h:12
Interface for SQL parsers.
Definition IParser.h:16
Definition QueryEngine.h:13
StatementType
Types of SQL statements.
Definition Statement.h:15