better table print, order by/offset/limit improvements

This commit is contained in:
2021-08-01 10:40:47 +02:00
parent 34e432d031
commit 70c036f08c
17 changed files with 3037 additions and 60 deletions

View File

@@ -4,7 +4,6 @@
#include "row.h"
#include <vector>
#include <list>
namespace usql {
@@ -17,6 +16,7 @@ namespace usql {
ColDefNode get_column_def(int col_index);
int columns_count() const { return m_col_defs.size(); };
int rows_count() const { return m_rows.size(); };
Row create_empty_row(); // TODO this means unnecessary copying
void add_row(const Row &row);
@@ -33,7 +33,7 @@ namespace usql {
std::string m_name;
std::vector<ColDefNode> m_col_defs;
std::list<Row> m_rows;
std::vector<Row> m_rows;
};
}