some more TODOs resolved
This commit is contained in:
4
table.h
4
table.h
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user