some more TODOs resolved

This commit is contained in:
2021-08-14 15:07:41 +02:00
parent 0f586aab8a
commit fc0ce36e8d
9 changed files with 136 additions and 145 deletions

View File

@@ -15,8 +15,8 @@ namespace usql {
ColDefNode get_column_def(const std::string &col_name);
ColDefNode get_column_def(int col_index);
int columns_count() const { return m_col_defs.size(); }; // TODO size_t type?
int rows_count() const { return m_rows.size(); };
int columns_count() const { return (int) m_col_defs.size(); };
size_t rows_count() const { return m_rows.size(); };
Row& create_empty_row();
void commit_row(const Row &row);