#include <QueryEngine.h>
◆ QueryEngine() [1/2]
| Xale::Engine::QueryEngine::QueryEngine |
( |
| ) |
|
|
default |
◆ QueryEngine() [2/2]
Constructor of the XaleDB SQL QueryEngine.
- Parameters
-
| parser | a SQL string parser |
| executor | a SQL statement executor |
◆ getResults()
Get the last runned query results.
- Returns
- a ResultSet of the last runned query
◆ getResultsToString()
| std::string Xale::Engine::QueryEngine::getResultsToString |
( |
| ) |
|
Get all query results as a formatted string (multi-query aware).
- Returns
- a string representing all executed query results
◆ run()
| bool Xale::Engine::QueryEngine::run |
( |
std::string | sqlQuery | ) |
|
Run one or more semicolon-separated SQL queries.
- Parameters
-
| sqlQuery | The SQL string query (may contain multiple statements separated by ';') |
- Returns
- True if all executions ran successfully
The documentation for this class was generated from the following files: