|
myTinySQL v0.2.0-2-g5000098
A tiny SQL interpreter over fixed-width text files
|
What running one statement produced: a table, a message, or an error. More...
#include <Session.hpp>
Public Attributes | |
| std::string | sql |
| The statement as it was run. | |
| std::string | tableName |
| The table the statement worked on, if any. | |
| std::optional< ResultSet > | table |
| The rows, for SELECT and DESCRIBE. | |
| std::string | message |
| E.g. "1 row inserted ...", or the error text. | |
| bool | failed = false |
| True if the statement failed; message holds the error. | |
| bool | silent = false |
| True for COLUMN and comments: nothing to show. | |
What running one statement produced: a table, a message, or an error.
Definition at line 29 of file Session.hpp.
| bool tinysql::StatementResult::failed = false |
True if the statement failed; message holds the error.
Definition at line 34 of file Session.hpp.
| std::string tinysql::StatementResult::message |
E.g. "1 row inserted ...", or the error text.
Definition at line 33 of file Session.hpp.
| bool tinysql::StatementResult::silent = false |
True for COLUMN and comments: nothing to show.
Definition at line 35 of file Session.hpp.
| std::string tinysql::StatementResult::sql |
The statement as it was run.
Definition at line 30 of file Session.hpp.
| std::optional<ResultSet> tinysql::StatementResult::table |
The rows, for SELECT and DESCRIBE.
Definition at line 32 of file Session.hpp.
| std::string tinysql::StatementResult::tableName |
The table the statement worked on, if any.
Definition at line 31 of file Session.hpp.