|
myTinySQL v0.2.0-2-g5000098
A tiny SQL interpreter over fixed-width text files
|
The rows produced by a SELECT or DESCRIBE. All per-column vectors have the same length. More...
#include <Session.hpp>
Public Attributes | |
| std::vector< std::string > | headers |
| Column titles. | |
| std::vector< std::size_t > | widths |
| Display width of each column in console output. | |
| std::vector< bool > | literal |
True for a 'literal' SELECT item. | |
| std::vector< std::size_t > | storageWidths |
| Width of each column in the data file (0 for a literal). | |
| std::vector< std::vector< std::string > > | rows |
| The values, one inner vector per row. | |
| std::optional< std::size_t > | idColumn |
| Output column holding the row ID, if rows can be edited and deleted by ID. | |
The rows produced by a SELECT or DESCRIBE. All per-column vectors have the same length.
Definition at line 19 of file Session.hpp.
| std::vector<std::string> tinysql::ResultSet::headers |
Column titles.
Definition at line 20 of file Session.hpp.
| std::optional<std::size_t> tinysql::ResultSet::idColumn |
Output column holding the row ID, if rows can be edited and deleted by ID.
Definition at line 25 of file Session.hpp.
| std::vector<bool> tinysql::ResultSet::literal |
True for a 'literal' SELECT item.
Definition at line 22 of file Session.hpp.
| std::vector<std::vector<std::string> > tinysql::ResultSet::rows |
The values, one inner vector per row.
Definition at line 24 of file Session.hpp.
| std::vector<std::size_t> tinysql::ResultSet::storageWidths |
Width of each column in the data file (0 for a literal).
Definition at line 23 of file Session.hpp.
| std::vector<std::size_t> tinysql::ResultSet::widths |
Display width of each column in console output.
Definition at line 21 of file Session.hpp.