This commit is contained in:
Rebecca Schofield 2015-09-15 21:42:08 -05:00
parent 5509e64f00
commit 8dc821422b
2 changed files with 12 additions and 1 deletions

View file

@ -22,7 +22,15 @@ public:
tables.push_back(r);
}
void showTable() { /*Becca*/ }
void showTables(String name) {
for(int i = 0; i < tables.size(); i++) {
if (tables.getTableName() == name) {
name.display();
break;
}
}
}
void saveToFile() { /*Becca*/ }
void insertTuple() { /*William*/ }
void deleteTuple() { /*William*/ }

View file

@ -26,5 +26,8 @@ int main() {
vec.push_back(att1);
vec.push_back(att2);
//beginning testing of core DB functions
engine.createTable("table1", vec);
engine.showTables("table1");
}