Added some TODO's. Need to switch to prepared statements for album, artist, genre, and year repositories

This commit is contained in:
kdeng00
2019-09-03 16:15:37 -04:00
parent c55d8261a2
commit 12a53ed2b1
19 changed files with 589 additions and 26 deletions
+6 -2
View File
@@ -20,14 +20,18 @@ namespace Database
std::vector<Model::Song> retrieveRecords();
bool doesSongExist(const Model::Song&, Type::songFilter);
Model::Song retrieveRecord(Model::Song&, Type::songFilter);
void deleteRecord(const Model::Song&);
void saveRecord(const Model::Song&);
private:
std::vector<Model::Song> parseRecords(MYSQL_RES*);
std::vector<Model::Song> parseRecords(MYSQL_RES*); // TODO: to be removed
std::vector<Model::Song> parseRecords(MYSQL_STMT*);
Model::Song parseRecord(MYSQL_RES*);
Model::Song parseRecord(MYSQL_RES*); // TODO: to be removed
Model::Song parseRecord(MYSQL_STMT*);
};
}