diff --git a/DBEngine.cpp b/DBEngine.cpp index 1d969c8..116638e 100755 --- a/DBEngine.cpp +++ b/DBEngine.cpp @@ -28,15 +28,6 @@ vector DBEngine::getRelations(){ return tables; } -//To check if a relation name is already used. -bool DBEngine::isRelation(string n){ - for(int i = 0; i < tables.size(); i++){ - if (tables[i].getTableName() == n){ - return true; - } - } - return false; -} Relation& DBEngine::getTableFromName(string n){ for(int i = 0; i < tables.size(); i++){