Added some TODO's. Need to switch to prepared statements for album, artist, genre, and year repositories
This commit is contained in:
@@ -47,6 +47,13 @@ Model::Artist Database::artistRepository::retrieveRecord(Model::Artist& artist,
|
||||
return artist;
|
||||
}
|
||||
|
||||
bool Database::artistRepository::doesArtistExist(const Model::Artist& artist, Type::artistFilter filter)
|
||||
{
|
||||
// TODO: implement this
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void Database::artistRepository::saveRecord(const Model::Artist& artist)
|
||||
{
|
||||
std::cout << "inserting artist record" << std::endl;
|
||||
@@ -100,3 +107,11 @@ Model::Artist Database::artistRepository::parseRecord(MYSQL_RES* results)
|
||||
|
||||
return artist;
|
||||
}
|
||||
|
||||
Model::Artist Database::artistRepository::parseRecord(MYSQL_STMT *stmt)
|
||||
{
|
||||
// TODO: implement this
|
||||
Model::Artist art;
|
||||
|
||||
return art;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user